androidx.savedstate.compose

Top-level properties summary

ProvidableCompositionLocal<SavedStateRegistryOwner>

The CompositionLocal containing the current SavedStateRegistryOwner.

Cmn
HostDefaultKey<SavedStateRegistryOwner>

A HostDefaultKey used to retrieve the SavedStateRegistryOwner provided by the current hosting environment.

Cmn
android

Top-level properties

LocalSavedStateRegistryOwner

val LocalSavedStateRegistryOwner: ProvidableCompositionLocal<SavedStateRegistryOwner>

The CompositionLocal containing the current SavedStateRegistryOwner.

SavedStateRegistryOwnerHostDefaultKey

val SavedStateRegistryOwnerHostDefaultKey: HostDefaultKey<SavedStateRegistryOwner>

A HostDefaultKey used to retrieve the SavedStateRegistryOwner provided by the current hosting environment.

This key allows the composition to access the host's SavedStateRegistryOwner through a decoupled mechanism, typically used by compositionLocalWithHostDefaultOf.