I don't use explicit ViewModels in Viscerion, but this repository does. The accompanying talk is also quite good and should help you understand what's going on. I'm also working on a series of posts to teach people new to Dagger how to use it with ease, will make sure to cover ViewModels. Hope that helps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can I see an example of how you handle the injection of ViewModels?
You can do as follow: gist.github.com/baudouxbenjamin/00...
I don't use explicit ViewModels in Viscerion, but this repository does. The accompanying talk is also quite good and should help you understand what's going on. I'm also working on a series of posts to teach people new to Dagger how to use it with ease, will make sure to cover ViewModels. Hope that helps!