Skip to content

//reactivestate/com.ensody.reactivestate.android/BuildOnViewModelContext

BuildOnViewModelContext

[android]\ class BuildOnViewModelContext(val scope: CoroutineScope, val stateFlowStore: StateFlowStore)

Build context for buildOnViewModel.

Constructors

BuildOnViewModelContext [android]
constructor(scope: CoroutineScope, stateFlowStore: StateFlowStore)

Properties

Name Summary
scope [android]
val scope: CoroutineScope
The viewModelScope.
stateFlowStore [android]
val stateFlowStore: StateFlowStore
A StateFlowStore where you can store/load the saved instance state (similar to a SavedStateHandle).