Search code examples
ViewModel getSingle(id) returns null and causes Logcat to return error...


androidkotlinrepositoryandroid-roomandroid-viewmodel

Read More
DefaultActivityViewModelFactory not found...


androidandroid-viewmodeldagger-hilt

Read More
MutableStateFlow not emmiting values after launching app or changes in a database...


androidandroid-jetpack-composeandroid-viewmodelkotlin-flow

Read More
Should we set LiveData and/or kotlin Flows to null in ViewModel onCleared?...


androidandroid-livedataandroid-viewmodelkotlin-stateflow

Read More
Composable function takes a value from viewmodel infinitely...


androidandroid-jetpack-composeandroid-viewmodel

Read More
Why lifecycleScope is not waiting for viewmodelscope to finish?...


androidkotlinkotlin-coroutinesandroid-lifecycleandroid-viewmodel

Read More
How i can add view model in module?...


androidmvvmdagger-2android-viewmodel

Read More
Caused by: java.lang.RuntimeException: Cannot create an instance of class com.app.MyViewModel...


androidkotlinmvvmviewmodelandroid-viewmodel

Read More
switchMap not trigger when LiveData changed...


androidkotlinandroid-livedataandroid-viewmodel

Read More
Kotlin flow test not emitting all value...


androidandroid-viewmodelkotlin-flowturbineandroid-unit-testing

Read More
Android ActivityViewModels - what happens when activity is destroyed...


androidandroid-viewmodeldaggerandroid-ktx

Read More
Matching Error (assertEquals) when unit testing ViewModel with Hilt and Mockk...


androidjunit4android-viewmodeldagger-hiltmockk

Read More
Jetpack Compose: How good is having a separate ViewModel for every interactive component on Screen...


androidkotlinandroid-jetpack-composeandroid-viewmodelandroid-mvvm

Read More
How to create ViewModel in dynamic feature module with Dagger Hilt?...


androidandroid-viewmodeldagger-hiltdynamic-feature-module

Read More
Why can I reference Application in ViewModel when I use Hilt in Android Studio?...


androidandroid-viewmodeldagger-hilt

Read More
Create a sharedViewModel within a separate module nav graph (Compose)...


kotlinandroid-jetpack-composeandroid-viewmodel

Read More
why i cannot get data from api ? my live data "test" value equal null. how can i solve thi...


androidkotlinandroid-recyclerviewandroid-viewmodelandroid-paging-3

Read More
How to pass activity context in my ViewModel class?...


androidmvvmviewmodelandroid-viewmodeldagger

Read More
AndroidViewModel does not preserve state between Fragment switch...


androidandroid-fragmentsandroid-viewmodel

Read More
Android: Correct way to initialize ViewModel with dependencies, ViewModelProviderFactory...


androidkotlinmvvmandroid-jetpack-composeandroid-viewmodel

Read More
Jetpack Compose can't observe MutableLiveData...


androidandroid-jetpack-composeretrofitandroid-livedataandroid-viewmodel

Read More
How can I retrieve a ViewModel associated with an Activity from a custom view?...


javaandroidkotlinmvvmandroid-viewmodel

Read More
Is it okay to pass activity instance to view model as per clean architecture...


androidandroid-viewmodelclean-architectureandroid-mvvm

Read More
GoogleMap и ViewModel...


androidgoogle-mapskotlinandroid-viewmodel

Read More
Android RoomDB get List of children from another table using Hilt and ViewModels...


androidkotlinandroid-roomandroid-viewmodeldagger-hilt

Read More
Use different class type of view model with multi-flavor app and koin...


androidandroid-viewmodelkoin

Read More
How to keep a flow alive on errors / restart it?...


androidandroid-viewmodelkotlin-flowandroid-architecture

Read More
How to clear Viewmodel state in activity...


androidmvvmandroid-viewmodel

Read More
How to get value from ViewModel viewModelScope.launch without observing it in Activity?...


androidkotlin-coroutinesandroid-viewmodelkotlin-flowandroid-mvvm

Read More
Compose - get the same instance of ViewModel inside and outside of Navigation Graph...


kotlinandroid-jetpack-composeandroid-viewmodeljetpack-compose-navigation

Read More
BackNext