activityStateViewModel
inline fun <T : ViewModel> Fragment.activityStateViewModel(crossinline provider: (handle: SavedStateHandle) -> T): Lazy<T>
Creates a ViewModel with a SavedStateHandle, scoped to the Activity.
The provider should instantiate the ViewModel directly.
See also
if you want to create multiplatform ReactiveState ViewModels.