ExtendableSavedState

SavedState for widgets that want to save and restore their own state in onSaveInstanceState. Supports widgets whose state is composed or delegated out to multiple components.

Widgets with only composed or delegated state can directly instantiate this class and write to extendableStates. Widgets with additional state should subclass ExtendableSavedState rather than trying to force the additional state into extendableStates.

Constructors

Link copied to clipboard
constructor(superState: Parcelable)

Properties

Functions

Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeToParcel(@NonNull out: Parcel, flags: Int)