An open API service indexing awesome lists of open source software.

https://github.com/vaibhavmojidra/android-java---demo-view-model-factory

The ViewModelFactory is a class in the Android Architecture Components that is used to create instances of ViewModel classes. In Android, a ViewModel is used to store and manage data that is used in an activity or fragment, and survives configuration changes, such as screen rotation.
https://github.com/vaibhavmojidra/android-java---demo-view-model-factory

android android-architecture-components mojidra vaibhav vaibhav-mojidra vaibhavmojidra viewmodelfactory

Last synced: about 1 month ago
JSON representation

The ViewModelFactory is a class in the Android Architecture Components that is used to create instances of ViewModel classes. In Android, a ViewModel is used to store and manage data that is used in an activity or fragment, and survives configuration changes, such as screen rotation.

Awesome Lists containing this project

README

          

# Android-Java---Demo-View-Model-Factory

ViewModelFactory is use to initialize the ViewModel

![S1](https://github.com/VaibhavMojidra/Android-Java---Demo-View-Model-Factory/blob/master/screenshots/1.png)
![S2](https://github.com/VaibhavMojidra/Android-Java---Demo-View-Model-Factory/blob/master/screenshots/2.png)