Search code examples
How to use context in viewmodel with Hilt on Android...


androidkotlinmvvmandroid-viewmodel

Read More
Getting "no such table: room_table_modification_log" on app rotation...


androidkotlinandroid-roomandroid-viewmodelscreen-orientation

Read More
Does an instance of a SharedViewmodel never dies?...


androidandroid-fragmentskotlinandroid-architecture-componentsandroid-viewmodel

Read More
Showing Items from Room with Jetpack Compose...


android-jetpack-composeandroid-roomkotlin-coroutinesandroid-viewmodel

Read More
"Using ViewModel and LiveData Without Explicit Dependency Declaration in build.gradle"...


androidgradleandroid-livedataandroid-viewmodelandroid-mvvm

Read More
Fragment doesn't update upon State change...


androidkotlinkotlin-coroutinesandroid-viewmodel

Read More
Why doesn't my UiState(stateflow object) update after updating in the viewmodel?...


androidkotlinandroid-jetpack-composeandroid-viewmodelkotlin-stateflow

Read More
How to navigate to different screens based on the state in viewmodel with jetpack compose...


androidandroid-jetpack-composeandroid-viewmodelandroid-jetpack-navigationkotlin-stateflow

Read More
Unit test the new Kotlin coroutine StateFlow...


androidkotlinkotlin-coroutinesandroid-viewmodelkotlin-flow

Read More
How to use the recycler view as a (tab layout) to update fragment layout with user info...


androidkotlinandroid-recyclerviewonclicklistenerandroid-viewmodel

Read More
What is difference between SavedStateHandle and rememberSaveable?...


androidandroid-jetpack-composeandroid-viewmodelandroid-savedstate

Read More
How to populate SavedStateHandle with navigation arguments in instrumentation test using Hilt and Je...


androidandroid-jetpack-composeandroid-viewmodelandroid-architecture-navigationdagger-hilt

Read More
Which is better to use for API calls, Dispatcher.IO or Dispatcher.Main?...


androidkotlinkotlin-coroutinesandroid-viewmodelandroid-mvvm

Read More
Is this way of filtering data in ROOM database wrong?...


androidkotlinandroid-roomandroid-viewmodelandroid-architecture-components

Read More
Why does a composable recompose while seemingly being stateless (the only passed parameter is a func...


kotlinandroid-jetpack-composeandroid-viewmodelkotlin-stateflowcompose-recomposition

Read More
How to change Scaffold's topBar depending on the current screen?...


androidandroid-jetpack-composeandroid-viewmodel

Read More
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
BackNext