Tag: ViewModel’s

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

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. 1. What is ViewModel ? 2. Advantages of ViewModel 3. How it works under the hood? What is ViewModel? View Model is ...

Making Your Android App Smoother: The Power of ViewModel’s ‘onCleared()’

In the world of Android app development, keeping things running smoothly is a top priority. One way to do this is by using a neat little feature called `onCleared()` in ViewModels. In this article, we’ll explore how this small but mighty function can help keep your app running like a well-oile...