rememberViewModelStore
Remember an AtomStore using AtomViewModel.
Return
The AtomStore remembered by AtomViewModel.
Parameters
key
The key to identify the AtomViewModel.
fun rememberViewModelStore(viewModelStoreOwner: ViewModelStoreOwner, key: String? = null): AtomStore
Remember an AtomStore using AtomViewModel.
Return
The AtomStore remembered by AtomViewModel.
Parameters
viewModelStoreOwner
The ViewModelStoreOwner to create the AtomViewModel.
key
The key to identify the AtomViewModel.