androidx.savedstate
Interfaces
AutoRecreated |
Subclasses of this interface will be automatically recreated if they were previously registered via { |
SavedStateProvider |
This interface marks a component that contributes to saved state. |
SavedStateRegistryOwner |
A scope that owns |
Classes
SavedStateRegistry |
An interface for plugging components that consumes and contributes to the saved state. |
SavedStateRegistryController |
An API for |
ViewTreeSavedStateRegistryOwner |
Accessors for finding a view tree-local |
Extension functions summary
For android.view.View | |
SavedStateRegistryOwner? |
Locates the SavedStateRegistryOwner associated with this View, if present. |
Extension functions
findViewTreeSavedStateRegistryOwner
fun View.findViewTreeSavedStateRegistryOwner(): SavedStateRegistryOwner?
Locates the SavedStateRegistryOwner associated with this View, if present. This may be used to save and restore the state associated with this view.