Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

NavigationView.SavedState

public static class NavigationView.SavedState
extends AbsSavedState

java.lang.Object
   ↳ android.support.v4.view.AbsSavedState
     ↳ com.google.android.material.navigation.NavigationView.SavedState


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

Summary

Inherited constants

From interface android.os.Parcelable

Fields

public static final Creator<NavigationView.SavedState> CREATOR

public Bundle menuState

Inherited fields

From class android.support.v4.view.AbsSavedState

Public constructors

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

Public methods

void writeToParcel(Parcel dest, int flags)

Inherited methods

From class android.support.v4.view.AbsSavedState
From class java.lang.Object
From interface android.os.Parcelable

Fields

CREATOR

Creator<NavigationView.SavedState> CREATOR

menuState

Bundle menuState

Public constructors

NavigationView.SavedState

NavigationView.SavedState (Parcel in, 
                ClassLoader loader)

Parameters
in Parcel

loader ClassLoader

NavigationView.SavedState

NavigationView.SavedState (Parcelable superState)

Parameters
superState Parcelable

Public methods

writeToParcel

void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int