public static class NavigationView.SavedState extends AbsSavedState
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<NavigationView.SavedState> |
CREATOR |
Bundle |
menuState |
EMPTY_STATE
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
SavedState(Parcelable superState) |
SavedState(Parcel in,
ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
describeContents, getSuperState
public Bundle menuState
public static final Parcelable.Creator<NavigationView.SavedState> CREATOR
public SavedState(Parcel in, ClassLoader loader)
public SavedState(Parcelable superState)
public void writeToParcel(@NonNull Parcel dest, int flags)
Parcelable
writeToParcel
in interface Parcelable
writeToParcel
in class AbsSavedState
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.