| Modifier and Type | Class and Description |
|---|---|
static interface |
Parcels.ParcelableFactory<T>
Factory class for building a
Parcelable from the given input. |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
unwrap(android.os.Parcelable input)
Unwraps the input wrapped
@Parcel Parcelable |
static <T> android.os.Parcelable |
wrap(Class<? extends T> inputType,
T input)
Wraps the input
@Parcel annotated class with a Parcelable wrapper. |
static <T> android.os.Parcelable |
wrap(T input)
Wraps the input
@Parcel annotated class with a Parcelable wrapper. |
public static final String IMPL_EXT
public static <T> android.os.Parcelable wrap(T input)
Wraps the input @Parcel annotated class with a Parcelable wrapper.
input - ParcelParcelerRuntimeException - if there was an error looking up the wrapped Parceler$Parcels class.public static <T> android.os.Parcelable wrap(Class<? extends T> inputType, T input)
Wraps the input @Parcel annotated class with a Parcelable wrapper.
inputType - specific type to parcelinput - ParcelParcelerRuntimeException - if there was an error looking up the wrapped Parceler$Parcels class.public static <T> T unwrap(android.os.Parcelable input)
Unwraps the input wrapped @Parcel Parcelable
T - type of unwrapped @Parcelinput - Parcelable implementing ParcelWrapper@ParcelClassCastException - if the input Parcelable does not implement ParcelWrapper with the correct parameter type.Copyright © 2018. All Rights Reserved.