Let’s skip the previous question as now I see that...
# kodein
i
Let’s skip the previous question as now I see that service locator pattern (
ViewModelProviders.of
) is a competition for Kodein scopes. So I tried to use
AndroidLifecycleScope
however example presented in the docs seems to have incorrect syntax 🤔 http://kodein.org/Kodein-DI/?5.1/android#_lifecycle_scope My goal here is to have
MyViewModel
that would survive configuration changes. Please share some tips as I am not sure how to achieve this