View Model is a lifecycle aware class, designed to store and manage UI related data. It a main component in MVVM architecture. When a view model is created, it is stored inside activity or fragment manager.
To create view models that take arguments we need ViewModelFactory which then creates the instance of parameterized view model instance.
Author - Amir
-
Notifications
You must be signed in to change notification settings - Fork 0
AmirCodeLab/ViewModelAndroid
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
View Model in Android-Kotlin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published