
Welcome to this post.
In this post, I am going to talk about, how to communicate between view and viewModel.
Let's take a look on ViewModel
ViewModel was introduced on Google I/O 17, a part of Lifecycle extensions. Now it's released version is 1.1.0.
Src: Medium
From the picture, you can see that it launch with the creation of activity. And it will be cleared only when the activity is finished....