Koin 3.1.6 :tada: <https://blog.kotzilla.io/koin-...
# koin
a
j
Nice job! I have one question:
• One important deep fix is about realigning ViewModel API to Google's API. Some of you were getting an error while registering shared ViewModels:
SavedStateProvider with the given key is already registered
. With this new patch, we are now closer to the current Google ViewModel API which is ordering ViewModel creation among the UI thread.
I'm looking at a function in my project, which using koin 3.1.5 was working using
getKoin().getViewModel(...)
which is no longer available. What's the appropriate replacement in 3.1.6?
Fixed. Using the getViewModel extension function from the new FragmentVM koin file.