SavedStateHandleStore
class SavedStateHandleStore(scope: CoroutineScope?, savedStateHandle: SavedStateHandle) : StateFlowStore
A StateFlowStore that wraps a SavedStateHandle.
This can synchronize either
two-way (MutableStateFlow<->
LiveData
) if scope is not nullone-way (MutableStateFlow ->
LiveData
) if scope is null
Depending on whether you already have a scope
Constructors
Link copied to clipboard
Wraps the given SavedStateHandle and synchronizes one-way from MutableStateFlow to LiveData
.