Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

LiveData not updating when data changes

how to create view model factory for AndroidViewModel?

Koin - how to provide mock ViewModel for espresso test?

ViewModelProviders with Dagger 2, not able to grasp the concept

ViewModel cannot be instantiated in an Activity

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?