In the third video of this series, we’ll add ViewModel to our application. Instead of calling the repository or other components directly from the Activity or Fragment, we can put some of that code in the ViewModel. As a result, our application will become much cleaner and it will be more testable.
Basic knowledge or experience building Android applications is recommended.
For the More Curious...
ViewModel | Google Developer
BNR Guide to Android
Android & Kotlin Courses