DATA - the data type.public static class Channels.ParcelableSelectable<DATA> extends Channels.Selectable<DATA> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<Channels.ParcelableSelectable> |
CREATOR
Creator instance needed by the parcelable protocol.
|
data, indexCONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
Channels.ParcelableSelectable(DATA data,
int index)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
void |
writeToParcel(Parcel dest,
int flags) |
data, equals, hashCode, toStringpublic static final Parcelable.Creator<Channels.ParcelableSelectable> CREATOR
public Channels.ParcelableSelectable(DATA data, int index)
data - the data object.index - the channel index.public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(@Nonnull Parcel dest, int flags)
writeToParcel in interface Parcelable