Gabor Varadi
1 min readFeb 10, 2020

--

Then you need to use an AbstractSavedStateViewModelFactory where you create a Subcomponent into which you BindsInstance the SavedStateHandle and then provide unscoped ViewModel from a Provider<MyViewModel>

--

--

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

No responses yet