diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2011-09-08 20:05:00 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2011-09-08 20:05:00 +0400 |
| commit | f976b25c1edf0bc4871cb66b1c20e8b3b5669a6d (patch) | |
| tree | 79ebf3b2f4fb195b38a7a9d01cc3f0e3eeddc030 /src/org/fox/ttrss/Feed.java | |
| parent | 2e2b5e5a11b0f2dbfe5e8d5f26a9942f0226745e (diff) | |
rework authentication
base feedlist adapter on sqlite
Diffstat (limited to 'src/org/fox/ttrss/Feed.java')
| -rw-r--r-- | src/org/fox/ttrss/Feed.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/org/fox/ttrss/Feed.java b/src/org/fox/ttrss/Feed.java new file mode 100644 index 00000000..1f18521b --- /dev/null +++ b/src/org/fox/ttrss/Feed.java @@ -0,0 +1,19 @@ +package org.fox.ttrss;
+
+public class Feed implements Comparable<Feed> {
+ String feed_url;
+ String title;
+ int id;
+ int unread;
+ boolean has_icon;
+ int cat_id;
+ int last_updated;
+
+ @Override
+ public int compareTo(Feed feed) {
+ if (feed.unread != this.unread)
+ return feed.unread - this.unread;
+ else
+ return this.title.compareTo(feed.title);
+ }
+}
\ No newline at end of file |