Package-level declarations
Types
Checks whether or not we can retain, usually derived from the current composable context.
Allows components to save and restore their state using the onRetainNonConfigurationInstance
mechanism.
Provides a retained value to a RetainedStateRegistry.
Provides a retained value to a RetainedStateRegistry.
Provides a retained value to a RetainedStateRegistry.
Provides a retained value to a RetainedStateRegistry.
Provides a retained value to a RetainedStateRegistry.
Properties
CompositionLocal with a current RetainedStateRegistry instance.
Functions
Collects values from this StateFlow and represents its latest value via a retained State. The StateFlow.value is used as an initial value. Every time there would be new value posted into the StateFlow the returned State will be updated causing recomposition of every State.value usage.
Collects values from this Flow and represents its latest value via retained State. Every time there would be new value posted into the Flow the returned State will be updated causing recomposition of every State.value usage.
Provides a RetainedStateRegistry.
Provides a RetainedStateRegistry.
On Android, we retain only if the activity is changing configurations.
Checks whether or not we can retain in the current composable context.
Checks whether or not we can retain in the current composable context.
Checks whether or not we can retain in the current composable context.
Creates RetainedStateRegistry.