Abhishek Dewan
06/18/2021, 5:53 PMviewModel(override = true) { SearchScreenViewModel(get()) }
I am guessing that the override param was removed from the viewModel call (release notes mention something about it s being a global option). Could someone explain as to what that means and how would we configure something like this in the new system.
On a side note the documentation for the function still mentioned override as a accepted param (most likely an oversight) but thought you might want to know 🙂Jeff Lockhart
06/21/2021, 5:28 PMoverride
module option has been moved to a global option in KoinApplication
. It defaults to true
and can be changed by setting it on your KoinApplication
instance.Jeff Lockhart
06/21/2021, 5:30 PM