Jul 23, 2017 · 1 min read
No really, only if it needs the Application context. Prefer the normal ViewModel class :).
See the docs -> https://developer.android.com/reference/android/arch/lifecycle/AndroidViewModel.html
No really, only if it needs the Application context. Prefer the normal ViewModel class :).
See the docs -> https://developer.android.com/reference/android/arch/lifecycle/AndroidViewModel.html
Written by