FileDocCategorySizeDatePackage
ParcelableCompatCreatorCallbacks.javaAPI DocAndroid 5.1 API1626Thu Mar 12 22:22:56 GMT 2015android.support.v4.os

ParcelableCompatCreatorCallbacks

public interface ParcelableCompatCreatorCallbacks
Callbacks a {@link Parcelable} creator should implement.

Fields Summary
Constructors Summary
Methods Summary
public TcreateFromParcel(android.os.Parcel in, java.lang.ClassLoader loader)
Create a new instance of the Parcelable class, instantiating it from the given Parcel whose data had previously been written by {@link Parcelable#writeToParcel Parcelable.writeToParcel()} and using the given ClassLoader.

param
in The Parcel to read the object's data from.
param
loader The ClassLoader that this object is being created in.
return
Returns a new instance of the Parcelable class.

public T[]newArray(int size)
Create a new array of the Parcelable class.

param
size Size of the array.
return
Returns an array of the Parcelable class, with every entry initialized to null.