Adding life to Android components: Adding Lifecycle events to components
The main guideline for any Android application following the MVVM architecture pattern is separation of concerns. This means the Activity is to be used solely for UI-related tasks and all other business logic needs to be implemented in the ViewModel ...
bawender.hashnode.dev8 min read