Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

SavedState

protected open class SavedState : AbsSavedState
kotlin.Any
   ↳ androidx.customview.view.AbsSavedState
   ↳ androidx.drawerlayout.widget.DrawerLayout.SavedState

State persisted across instances

Summary

Public constructors

<init>(@NonNull in: Parcel, @Nullable loader: ClassLoader?)

<init>(@NonNull superState: Parcelable)

Public methods

open Unit
writeToParcel(dest: Parcel!, flags: Int)

Inherited functions

Properties

static Creator<DrawerLayout.SavedState!>!

Inherited properties

Public constructors

<init>

SavedState(@NonNull in: Parcel, @Nullable loader: ClassLoader?)

<init>

SavedState(@NonNull superState: Parcelable)

Public methods

writeToParcel

open fun writeToParcel(dest: Parcel!, flags: Int): Unit

Properties

CREATOR

static val CREATOR: Creator<DrawerLayout.SavedState!>!