Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Development <david-dev@live.de>2014-07-04 13:34:27 +0400
committerDavid Development <david-dev@live.de>2014-07-04 13:34:27 +0400
commitc706b6c42e5966c96a29e753b852f01c7395017b (patch)
tree19f6176ce5d29a788acdfd5a44941ced59b9c851 /News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java
parent99a5b5dd417f03b749a5dedb5ad3f52403491a13 (diff)
parentaa786bc5e68b53cbc0a57c75dcb3a61a4e5e390a (diff)
update podcast support
Diffstat (limited to 'News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java')
-rw-r--r--News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java19
1 files changed, 16 insertions, 3 deletions
diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java
index 7fb53e4e..544b91c2 100644
--- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java
+++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/PodcastItem.java
@@ -7,13 +7,26 @@ import java.io.Serializable;
*/
public class PodcastItem implements Serializable {
+ public PodcastItem() {
+
+ }
+
+ public PodcastItem(String itemId, String title, String link, String mimeType, boolean offlineCached) {
+ this.itemId = itemId;
+ this.title = title;
+ this.link = link;
+ this.mimeType = mimeType;
+ this.offlineCached = offlineCached;
+ }
+
public String itemId;
public String title;
public String link;
public String mimeType;
+ public boolean offlineCached;
- public int downloadProgress;
+ public Integer downloadProgress;
- public static int DOWNLOAD_COMPLETED = -1;
- public static int DOWNLOAD_NOT_STARTED = -2;
+ public static Integer DOWNLOAD_COMPLETED = -1;
+ public static Integer DOWNLOAD_NOT_STARTED = -2;
}