can I get some better understanding on what viewModelFactory does please. ty
09/19/2021, 8:13 PM
ViewModelFactory it is a factory class that creates ViewModel objects and configure them so they can survive configuration changes. If you create your object like any other regular the ViewModel won’t be aware of the activity lifecycle, does that makes things a bit more clear?