Adam Hurwitz
1 min readJun 7, 2020

--

This will be a great feature for getting acclimated with existing codebases that implement Dagger!

Manuel, What branch of the GitHub android/architecture-samples code do you recommend exploring in order to understand how to implement injecting a repository into a ViewModel?

dev-dagger and dagger-android both inject the repository into the ViewModel in TasksViewModel.kt for example.

--

--

Adam Hurwitz

An account about nothing | Researcher and product consultant