Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

jetpack compose pass parameter to viewModel

How to ensure ViewModel#onCleared is called in an Android unit test?

Data binding LiveData from Transformation - Android Kotlin

Testing Navigation component: "does not have a NavController"

How to model parent-child relationship in Android MVVM VMs?

Get LiveData from a many-to-many structure in android Room Architecture Component

lateinit property viewModelFactory has not been initialized in Fragment

What ViewModelStoreOwner to use for ViewModelProvider in Fragment?

onCleared is not being called on Fragment's attached ViewModel

MVVM - handling Disposable-s in ViewModel with RxJava and Room

Preferred Fragment lifecycle method for instantiating ViewModels

Android data binding inject ViewModel in custom view

How to read data and listen to changes from Room database in a Service?

Cannot create an instance of ViewModel class (Unable to start activity ComponentInfo)

Shared viewmodel between fragments, without scoping to the activity? [duplicate]

Strange behavior of android's ViewModel

How to use Hilt to inject a safe-args argument into a viewmodel?

AndroidViewModel has no zero argument constructor [duplicate]