anyone know how to use `checkModules` with `stateV...
# koin
m
anyone know how to use
checkModules
with
stateViewModel
? I was previously getting around it by using `
Copy code
create<ViewModelType> { StateDefinitionParameter(SavedStateHandle()) }
but
StateDefinitionParameter
no longer exists
was able to get it to work with
create<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 guess
don’t think I saw any mention of when it got changed in the changelog though