summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/syndication
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-07-23 00:28:01 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-07-23 00:28:01 +0200
commitea2c8e6e4b161dc2af5c5054590d70ae6178aca5 (patch)
tree6188130841847427cf69477fe3e7fbdbf05296bd /src/de/danoeh/antennapod/syndication
parent8fb81fa7993a80255ae8ea56842c1c2f20e49f24 (diff)
downloadAntennaPod-ea2c8e6e4b161dc2af5c5054590d70ae6178aca5.zip
Added list adapter for simple chapters
Diffstat (limited to 'src/de/danoeh/antennapod/syndication')
-rw-r--r--src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java b/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java
index 3c7853304..338715f52 100644
--- a/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java
+++ b/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java
@@ -28,9 +28,10 @@ public class NSSimpleChapters extends Namespace {
} else if (localName.equals(CHAPTER)) {
state.getCurrentItem()
.getSimpleChapters()
- .add(new SimpleChapter(SyndDateUtils
- .parseTimeString(attributes.getValue(START)),
- attributes.getValue(TITLE)));
+ .add(new SimpleChapter(state.getCurrentItem(),
+ SyndDateUtils.parseTimeString(attributes
+ .getValue(START)), attributes
+ .getValue(TITLE)));
}
return new SyndElement(localName, this);