Skip to content

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.

Notifications You must be signed in to change notification settings

VaibhavMojidra/Android-Kotlin---Demo-View-Model-Factory

Repository files navigation

Android-Kotlin---Demo-View-Model-Factory

ViewModelFactory is use to initialize the ViewModel

S1 S2 S3

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages