diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2012-03-08 18:29:27 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2012-03-08 18:29:27 +0300 |
| commit | 14769a40191078d96c8637cdede508c470595885 (patch) | |
| tree | 1ffc069bbfefff45b13c8620855d8f04aa7fc9d9 /src/org/fox/ttrss/Feed.java | |
| parent | 1945fa6317c46019028254701f218692cefcfc9a (diff) | |
on API 3, sort feeds and categories using order configured in tt-rss
properly unmark Uncategorized on closeCategory()
Diffstat (limited to 'src/org/fox/ttrss/Feed.java')
| -rw-r--r-- | src/org/fox/ttrss/Feed.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/fox/ttrss/Feed.java b/src/org/fox/ttrss/Feed.java index 0582d406..1f0af4cc 100644 --- a/src/org/fox/ttrss/Feed.java +++ b/src/org/fox/ttrss/Feed.java @@ -11,6 +11,7 @@ public class Feed implements Comparable<Feed>, Parcelable { boolean has_icon;
int cat_id;
int last_updated;
+ int order_id;
boolean is_cat;
public Feed(int id, String title, boolean is_cat) {
@@ -46,6 +47,7 @@ public class Feed implements Comparable<Feed>, Parcelable { out.writeInt(cat_id);
out.writeInt(last_updated);
out.writeInt(is_cat ? 1 : 0);
+ out.writeInt(order_id);
}
public void readFromParcel(Parcel in) {
@@ -57,6 +59,7 @@ public class Feed implements Comparable<Feed>, Parcelable { cat_id = in.readInt();
last_updated = in.readInt();
is_cat = in.readInt() == 1;
+ order_id = in.readInt();
}
@SuppressWarnings("rawtypes")
|