Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vaibhavmojidra/android-kotlin---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-kotlin---demo-view-model-factory

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

Last synced: 6 days 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-Kotlin---Demo-View-Model-Factory

ViewModelFactory is use to initialize the ViewModel

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