diff options
Diffstat (limited to 'src/de/danoeh/antennapod/util/ShownotesProvider.java')
-rw-r--r-- | src/de/danoeh/antennapod/util/ShownotesProvider.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/util/ShownotesProvider.java b/src/de/danoeh/antennapod/util/ShownotesProvider.java new file mode 100644 index 000000000..d273e0b8f --- /dev/null +++ b/src/de/danoeh/antennapod/util/ShownotesProvider.java @@ -0,0 +1,17 @@ +package de.danoeh.antennapod.util; + +import java.util.concurrent.Callable; +import java.util.concurrent.FutureTask; + +/** + * Created by daniel on 04.08.13. + */ +public interface ShownotesProvider { + /** + * Loads shownotes. If the shownotes have to be loaded from a file or from a + * database, it should be done in a separate thread. After the shownotes + * have been loaded, callback.onShownotesLoaded should be called. + */ + public Callable<String> loadShownotes(); + +} |