Sep 4, 2018 · 1 min read
No need to use AndroidViewModel class. Just use constructor injection to inject Context instance and extend ViewModel.
No need to use AndroidViewModel class. Just use constructor injection to inject Context instance and extend ViewModel.