ResoCoder / forecast-mvvm-android-kotlin

Forecast MVVM app as found in the free course.
https://www.youtube.com/playlist?list=PLB6lc7nQ1n4jTLDyU2muTBo8xk0dg0D_w
339 stars 163 forks source link

Kodein version 6.2.1 deprecates closestKodein() #17

Open arorahrsh opened 5 years ago

arorahrsh commented 5 years ago

Hey,

Thanks for the great tutorial.

In version 6.2.1 of the Kodein release, the closestKodein() method has been deprecated. I was wondering how would one go about getting the ViewModelFragment in the View without this method? Would you be able to suggest an alternative approach please?

Thanks.