public static class SelectionModule.SavedState extends AdapterSavedState
AdapterSavedState implementation used to ensure that the state of SelectionModule
is properly saved.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<SelectionModule.SavedState> |
CREATOR
Creator used to create an instance or array of instances of SavedState from
Parcel. |
EMPTY_STATECONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
SavedState(Parcel source)
Called from
CREATOR to create an instance of SavedState form the given parcel
source. |
protected |
SavedState(Parcelable superState)
Creates a new instance of SavedState with the given superState to allow chaining
of saved states in
SelectionModule.saveInstanceState() and also in SelectionModule.restoreInstanceState(Parcelable). |
| Modifier and Type | Method and Description |
|---|---|
void |
writeToParcel(Parcel dest,
int flags) |
describeContents, getSuperStatepublic static final Parcelable.Creator<SelectionModule.SavedState> CREATOR
Parcel.protected SavedState(@NonNull Parcelable superState)
SelectionModule.saveInstanceState() and also in SelectionModule.restoreInstanceState(Parcelable).superState - The super state obtained from super.saveInstanceState() within
SelectionModule.saveInstanceState().public void writeToParcel(@NonNull Parcel dest, int flags)
writeToParcel in interface ParcelablewriteToParcel in class AdapterSavedState