Injectable Android ViewModels
In the following post I’m going to show a simple (almost boilerplate-free) yet powerful implementation of the view models dependency injection on Android using Dagger. If you haven’t read about the latest Android Architecture Components libraries, the MVVM pattern and the ViewModel class yet, please read it first as I don’t explain it here. The…