Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

androidx.savedstate

Interfaces

AutoRecreated

Subclasses of this interface will be automatically recreated if they were previously registered via {runOnNextRecreation(Class)}.

SavedStateProvider

This interface marks a component that contributes to saved state.

SavedStateRegistryOwner

A scope that owns SavedStateRegistry

Classes

SavedStateRegistry

An interface for plugging components that consumes and contributes to the saved state.

SavedStateRegistryController

An API for SavedStateRegistryOwner implementations to control SavedStateRegistry.

ViewTreeSavedStateRegistryOwner

Accessors for finding a view tree-local SavedStateRegistryOwner that allows managing the saving state using SavedStateRegistry for the given view.

Extension functions summary

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.