david.bilik
01/25/2020, 10:15 AMSavedState
mechanism. In current documentation there is no mention about that, so i thought that it is not yet release in stable version and I searched for that in alpha 2.1.0
where I actually found that for example here https://github.com/InsertKoinIO/koin/blob/2.1.0/koin-projects/koin-androidx-viewmodel/src/main/java/org/koin/androidx/viewmodel/ViewModelFactory.kt but there is nothing in changelog https://github.com/InsertKoinIO/koin/blob/2.1.0/CHANGELOG.md and samples are pretty sparse I think. Is there something im missing? If not, is it something you accept contributions for?Jason
01/27/2020, 3:54 AMaipok
01/27/2020, 7:00 AMSavedState
, if I understood correctly your questions, this is the functionality you are looking for. When you get an understanding how this functionality is used in androidX
library it is usually very simple to understand how Koin
could improve this with injection.david.bilik
01/27/2020, 7:17 AMSavedStateHandle
from the fragment to this factory, which I could not find how to achieve that. I found samples where ViewModel received this handle as constructor parameter but if I use this approach in my app it crashes because it cant provide this handle ..aipok
01/27/2020, 7:23 AMaipok
01/27/2020, 7:33 AMaipok
01/27/2020, 7:33 AMdavid.bilik
01/27/2020, 8:08 AM