Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

property getter or setter expected in Kotlin ViewModel class

Automatically persist changes from two way data binding using Room?

Get parent fragment from child when using Navigation Component

LiveData: Remove observer from inside Observer lambda

Kotlin: Read Only access of Immutable Type to an Internal Variable of a Mutable Type

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?