blob: 350f45ad8c8ebab3bfda6f72bc6622c31520705f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
package org.fox.ttrss.types;
import java.util.ArrayList;
import android.os.Parcel;
import android.os.Parcelable;
@SuppressWarnings("serial")
public class FeedList extends ArrayList<Feed> implements Parcelable {
public FeedList() { }
@Override
public int describeContents() {
return 0;
}
@Override
public void writeToParcel(Parcel out, int flags) {
out.writeList(this);
}
public void readFromParcel(Parcel in) {
in.readList(this, getClass().getClassLoader());
}
public FeedList(Parcel in) {
readFromParcel(in);
}
@SuppressWarnings("rawtypes")
public static final Parcelable.Creator CREATOR =
new Parcelable.Creator() {
public FeedList createFromParcel(Parcel in) {
return new FeedList(in);
}
public FeedList[] newArray(int size) {
return new FeedList[size];
}
};
}
|