Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

Android Architecture Component ViewModel - How to mock ViewModel on test Activity?

Clearing sharedViewModel

ViewPager2/Tabs problem with ViewModel state

How ViewModel is persisted on configuration change

Android ViewModel recreated on screen rotation

Is it a bad practice to have multiple Viewmodels, approximately one for each fragment?

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?