public class ParcelableParcel extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.ClassLoaderCreator<ParcelableParcel> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ParcelableParcel(ClassLoader loader) |
ParcelableParcel(Parcel src,
ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
ClassLoader |
getClassLoader() |
Parcel |
getParcel() |
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static final Parcelable.ClassLoaderCreator<ParcelableParcel> CREATOR
public ParcelableParcel(ClassLoader loader)
public ParcelableParcel(Parcel src, ClassLoader loader)
public Parcel getParcel()
public ClassLoader getClassLoader()
public int describeContents()
ParcelabledescribeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
ParcelablewriteToParcel in interface Parcelabledest - The Parcel in which the object should be written.flags - Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.