Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

java.lang.ClassCastException: com.eng.bt_eng_mobility.viewmodel.HomeViewModelFactory cannot be cast to androidx.lifecycle.ViewModel

It is ok to call observeForever() on Livedata returned by Transformations.map() inside ViewModel?

Why some people still use viewmodel in jetpack compose?

MockK mock ViewModel's savedStateHandle.getLiveData()

unresolved reference hiltViewModel() despite dagger-hilt in build.gradle

Jetpack Compose: No recomposition happening, when updating list element contents

Get ViewModel's coroutine scope with Hilt

My observer is always firing when I come back from one fragment to another

Android Architecture Components: Multiple instances of the same view model

When to use multiple ViewModels vs shared ViewModel in Android?

android android-viewmodel

Best practise of using view model in jetpack compose [closed]

Livedata setvalue is ignored when called multiple times

Kotlin CoroutineScope initialization depending upon CoroutineContext with custom getter