Learning Android Development
Injecting ViewModel with Dagger Hilt
No more Factory Needed for ViewModel with Dependencies
ViewModel is one of the best things in Android Jetpack to enable logic moving away from Activity.
However, one big fall back the ViewModel has it, there’s no easily inject dependencies into it while having it…