NavigationView.SavedState

public static class NavigationView.SavedState
extends AbsSavedState

java.lang.Object
   ↳ androidx.customview.view.AbsSavedState
     ↳ com.google.android.material.navigation.NavigationView.SavedState


User interface state that is stored by NavigationView for implementing onSaveInstanceState().

Summary

Inherited constants

Fields

public static final Creator<NavigationView.SavedState> CREATOR

public Bundle menuState

Inherited fields

Public constructors

SavedState(Parcel in, ClassLoader loader)
SavedState(Parcelable superState)

Public methods

void writeToParcel(Parcel dest, int flags)

Inherited methods

Fields

CREATOR

public static final Creator<NavigationView.SavedState> CREATOR

public Bundle menuState

Public constructors

SavedState

public SavedState (Parcel in, 
                ClassLoader loader)

Parameters
in Parcel

loader ClassLoader

SavedState

public SavedState (Parcelable superState)

Parameters
superState Parcelable

Public methods

writeToParcel

public void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int