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!