Matt Thompson
09/02/2021, 3:47 PMcheckModules
with stateViewModel
? I was previously getting around it by using `
create<ViewModelType> { StateDefinitionParameter(SavedStateHandle()) }
but StateDefinitionParameter
no longer existsMatt Thompson
09/02/2021, 5:16 PMcreate<T> { parametersOf(SavedStateHandle()) }
after looking at StateViewModelFactory
— it inserts a SavedStateHandle
in to whatever DefinitionParameters
there are, or an empty one, there’s no special class for it anymore I guessMatt Thompson
09/02/2021, 5:17 PM