class StateViewModelFactory<T : ViewModel> : AbstractSavedStateViewModelFactory
<init> |
StateViewModelFactory(scope: Scope, parameters: ViewModelParameter<T>) |
parameters |
val parameters: ViewModelParameter<T> |
scope |
val scope: Scope |
create |
fun <T : ViewModel> create(key: String, modelClass: Class<T>, handle: SavedStateHandle): T |