Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

How to get hiltViewModel from Activity?

viewModelScope unresolved reference

Is it bad to inject two ViewModel objects into a composable function?

java.lang.RuntimeException: Cannot create an instance of class ViewModel, when android recreates Activity and Fragment

How to use ViewModel with Jetpack Compose?

How to implement bidirectional syncing of text field input between a view model and a composable?

Android two way databinding is not working for edittext in Fragment

How to bind viewmodel to a gridView in android?

ClassCastException When Initialising Interface ViewModel Using by navGraphViewModels() [with Hilt]

Injection of an @HiltViewModel class is prohibited since it does not create a ViewModel instance correctly

Jetpack Compose saving state on orientation change

Am I allowed to observe a ViewModel, if I clean up the back references?

ViewModel in DialogFragment

How to handle state flow on back navigate on compose

Compose - get the same instance of ViewModel inside and outside of Navigation Graph