public static interface Parcelable.Creator<T>
Modifier and Type | Method and Description |
---|---|
T |
createFromParcel(Parcel source)
Create a new instance of the Parcelable class, instantiating it
from the given Parcel whose data had previously been written by
Parcelable.writeToParcel() . |
T[] |
newArray(int size)
Create a new array of the Parcelable class.
|
T createFromParcel(Parcel source)
Parcelable.writeToParcel()
.source
- The Parcel to read the object's data from.T[] newArray(int size)
size
- Size of the array.