You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
auto replacement for deprecated method getViewModel is not correct
To Reproduce
Go to studio, alt enter on getViewModel()
Expected behavior val foo = koinViewModel<ViewModel>()
Actual
rememberCurrentKoinScope()
checkNotNull(LocalViewModelStoreOwner.current) {
"No ViewModelStoreOwner was provided via LocalViewModelStoreOwner"
}
defaultExtras(viewModelStoreOwner)
rememberCurrentKoinScope()
val foo = koinViewModel
Koin module and version:
[e.g]: koin-core:3.4.3
Snippet or Sample project to help reproduce
Add a snippet or even a small sample project to hel reproduce your case.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
auto replacement for deprecated method
getViewModel
is not correctTo Reproduce
Go to studio, alt enter on
getViewModel()
Expected behavior
val foo = koinViewModel<ViewModel>()
Actual
Koin module and version:
[e.g]:
koin-core:3.4.3
Snippet or Sample project to help reproduce
Add a snippet or even a small sample project to hel reproduce your case.
The text was updated successfully, but these errors were encountered: