retainRetainedValuesStoreRegistry

Functions summary

Functions

retainRetainedValuesStoreRegistry

@Composable
fun retainRetainedValuesStoreRegistry(): RetainedValuesStoreRegistry

Returns a retained instance of a new RetainedValuesStoreRegistry. A RetainedValuesStoreRegistry is a container of RetainedValuesStores that allows a parent composable to have children with different retention lifecycles. See RetainedValuesStoreRegistry for more information on how to use this class, including a sample.

When this RetainedValuesStoreRegistry is retired, its child stores will also be retired and the store will be disposed.