ViewModel’s Internal working in Android. A full guide.

<p>I will show you how view model work internally in Android. In this article, we are going to cover ViewModel and its working under the hood in the following sequence.</p> <p>1. What is ViewModel ?</p> <p>2. Advantages of ViewModel</p> <p>3. How it works under the hood?</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*pM20lGwlXVt8UpUIHyTLSQ.png" style="height:412px; width:700px" /></p> <h1><strong>What is ViewModel?</strong></h1> <p>View Model is a lifecycle aware class, designed to store and manage UI related data. It a main component in MVVM architecture. When a view model is created, it is stored inside activity or fragment manager.</p> <p><a href="https://medium.com/@KaushalVasava/viewmodels-internal-working-in-android-a-full-guide-757afaf6510"><strong>Read More</strong></a></p>