diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-07-23 00:28:01 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-07-23 00:28:01 +0200 |
commit | ea2c8e6e4b161dc2af5c5054590d70ae6178aca5 (patch) | |
tree | 6188130841847427cf69477fe3e7fbdbf05296bd /src/de/danoeh/antennapod/syndication/namespace | |
parent | 8fb81fa7993a80255ae8ea56842c1c2f20e49f24 (diff) | |
download | AntennaPod-ea2c8e6e4b161dc2af5c5054590d70ae6178aca5.zip |
Added list adapter for simple chapters
Diffstat (limited to 'src/de/danoeh/antennapod/syndication/namespace')
-rw-r--r-- | src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java | 7 |
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); |