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
When providing ViewModels using viewModel with named in module and injecting using by viewModel the same instances are injected regardless of names. If we use single and by inject respectively, names are taken into account properly.
To Reproduce
Steps to reproduce the behavior:
Use code like this in module:
Describe the bug
When providing ViewModels using
viewModel
withnamed
in module and injecting usingby viewModel
the same instances are injected regardless of names. If we usesingle
andby inject
respectively, names are taken into account properly.To Reproduce
Steps to reproduce the behavior:
Use code like this in module:
Like this in Activity:
And like this in Fragment:
Expected behavior
Separate instances are injected according to qualifier value.
Koin project used and used version (please complete the following information):
koin-core, koin-androidx-viewmodel, koin-android version 2.0.0-GA
The text was updated successfully, but these errors were encountered: