types: add empty constructors for gson
This commit is contained in:
parent
07f38d878d
commit
822f280b3e
@ -27,6 +27,10 @@ public class Article implements Parcelable {
|
||||
readFromParcel(in);
|
||||
}
|
||||
|
||||
public Article() {
|
||||
|
||||
}
|
||||
|
||||
public Article(int id) {
|
||||
this.id = id;
|
||||
this.title = "";
|
||||
|
@ -19,6 +19,10 @@ public class Attachment implements Parcelable {
|
||||
readFromParcel(in);
|
||||
}
|
||||
|
||||
public Attachment() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
|
@ -24,6 +24,10 @@ public class Feed implements Comparable<Feed>, Parcelable {
|
||||
readFromParcel(in);
|
||||
}
|
||||
|
||||
public Feed() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(Feed feed) {
|
||||
if (feed.unread != this.unread)
|
||||
|
@ -20,6 +20,10 @@ public class FeedCategory implements Parcelable {
|
||||
this.order_id = 0;
|
||||
}
|
||||
|
||||
public FeedCategory() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
|
@ -6,4 +6,8 @@ public class Label {
|
||||
public String fg_color;
|
||||
public String bg_color;
|
||||
public boolean checked;
|
||||
|
||||
public Label() {
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user