Most visited

Recently visited

NavigationView.SavedState

public static class NavigationView.SavedState
extends AbsSavedState

java.lang.Object
    android.support.v4.view.AbsSavedState
      android.support.design.widget.NavigationView.SavedState


用于实现onSaveInstanceState()的NavigationView存储的用户界面状态。

摘要(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

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: The Parcel in which the object should be written.
flags int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.

Hooray!