Most visited

Recently visited

DrawerLayout.SavedState

protected static class DrawerLayout.SavedState
extends AbsSavedState

java.lang.Object
    android.support.v4.view.AbsSavedState
      android.support.v4.widget.DrawerLayout.SavedState


状态在实例中持续存在

摘要(Summary)

Inherited constants

From interface android.os.Parcelable

Fields

public static final Creator<DrawerLayout.SavedState> CREATOR

Inherited fields

From class android.support.v4.view.AbsSavedState

Public constructors

DrawerLayout.SavedState(Parcel in, ClassLoader loader)
DrawerLayout.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<DrawerLayout.SavedState> CREATOR

Public constructors

DrawerLayout.SavedState

DrawerLayout.SavedState (Parcel in, 
                ClassLoader loader)

参数(Parameters)
in Parcel
loader ClassLoader

DrawerLayout.SavedState

DrawerLayout.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!