public static interface Parcelable.Creator<P>
| Modifier and Type | Method and Description |
|---|---|
P |
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().
|
P[] |
newArray(int size)
Create a new array of the Parcelable class.
|
P createFromParcel(Parcel source)
source - Parcel to read from.P[] newArray(int size)
size - The number of elements.Copyright © 2018. All rights reserved.