Join Slack
Powered by
I ran into a similar problem when I first discover...
# kodein
k
kluck
05/18/2018, 5:45 AM
I ran into a similar problem when I first discovered about scopes. Here, inside your activity, your kodein scope is not defined, meaning that your
Copy code
viewModel: MainViewModel by kodein.instance()
will try to retrieve an unscoped MainViewModel (and none are defined in your bindings!)
a
Artur512
05/18/2018, 11:24 AM
Thanks Luc
2
Views
Open in Slack
Previous
Next