AndroidViewModel class is Similar to ViewModel Class but it provides Application object in constructor so any task which requires some context like opening a Database or Saving data in shared preferences can be done in it. In this video we will learn difference between AndroidViewModel and ViewModel, when to use AndroidViewModel and how to create it.
Don't forget to subscribe to the channel for quality tutorial videos on android application development.
Connect with AndroidDevSunny on other social media Platforms to get latest updates:
Facebook: / androiddevsunny
Twitter: / androiddevsunny
Instagram: / androiddevsunny
On this page of the site you can watch the video online VM -2 AndroidViewModel Basics, Usage, Example | Android Architecture Component | Android | Hindi with a duration of hours minute second in good quality, which was uploaded by the user AndroidDevSunny 10 September 2020, share the link with friends and acquaintances, this video has already been watched 1,835 times on youtube and it was liked by 51 viewers. Enjoy your viewing!