//workflow/com.squareup.workflow1.ui.backstack/ViewStateCache/SavedState
SavedState¶
[androidJvm] class SavedState : View.BaseSavedState
Convenience for use in View.onSaveInstanceState and View.onRestoreInstanceState methods of container views that have no other state of their own to save.
More interesting containers should create their own subclass of BaseSavedState rather than trying to extend this one.
Constructors¶
SavedState | [androidJvm] fun SavedState(superState: Parcelable?, viewStateCache: ViewStateCache) |
SavedState | [androidJvm] fun SavedState(source: Parcel) |
Types¶
Name | Summary |
---|---|
CREATOR | [androidJvm] Content object CREATOR : Parcelable.Creator<ViewStateCache.SavedState> |
Functions¶
Name | Summary |
---|---|
describeContents | [androidJvm] Content open override fun describeContents(): Int |
getSuperState | [androidJvm] Content fun getSuperState(): Parcelable |
writeToParcel | [androidJvm] Content open override fun writeToParcel(out: Parcel, flags: Int) |
Properties¶
Name | Summary |
---|---|
viewStateCache | [androidJvm] val viewStateCache: ViewStateCache |