protected static class DrawerLayout.SavedState
extends AbsSavedState
java.lang.Object | ||
↳ | android.support.v4.view.AbsSavedState | |
↳ | android.support.v4.widget.DrawerLayout.SavedState |
状态在实例中持续存在
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
|
DrawerLayout.SavedState (Parcel in, ClassLoader loader)
Parameters | |
---|---|
in |
Parcel
|
loader |
ClassLoader
|
DrawerLayout.SavedState (Parcelable superState)
Parameters | |
---|---|
superState |
Parcelable
|
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 . |