StackOverflow Questions for Tag: android-viewmodel

Gnua Aruht
Gnua Aruht

Reputation: 13

LaunchedEffect executing everytime

Score: 1

Views: 37

Answers: 1

Read More
Matt
Matt

Reputation: 2350

Is onCleared guarranteed to be called on a ViewModel in android?

Score: 5

Views: 1371

Answers: 1

Read More
CodeNerd
CodeNerd

Reputation: 23

How to correctly display a list from a view model StateFlow in a composable?

Score: 2

Views: 103

Answers: 2

Read More
BenjyTec
BenjyTec

Reputation: 10877

ArrayList is not stored in SavedStateHandle

Score: 1

Views: 29

Answers: 2

Read More
lin
lin

Reputation: 25

Hilt Dependency Injection Issue: Cannot Find Symbol 'PlayerViewModel_HiltModules_BindsModule_Binds_LazyMapKey‘

Score: 2

Views: 62

Answers: 1

Read More
NullPointerException
NullPointerException

Reputation: 37711

Should App viewmodel and Screen viewmodel coexist at once?

Score: -1

Views: 46

Answers: 1

Read More
BenjyTec
BenjyTec

Reputation: 10877

What is the single source of truth in my Fragment with a ViewModel?

Score: 0

Views: 30

Answers: 0

Read More
Abdul2511
Abdul2511

Reputation: 153

Cannot create an instance of Application ViewModel

Score: 0

Views: 1320

Answers: 3

Read More
dev.tejasb
dev.tejasb

Reputation: 578

Android Jetpack Compose call view-model function only once

Score: 5

Views: 2718

Answers: 3

Read More
tereshkevich
tereshkevich

Reputation: 53

Proper way to share app settings state across all screens in Jetpack Compose: CompositionLocal

Score: 2

Views: 37

Answers: 0

Read More
Andrej Plavsic
Andrej Plavsic

Reputation: 13

How to retain dialog visibility after navigating back in Jetpack Compose with NavHostController?

Score: 0

Views: 44

Answers: 0

Read More
Anmol
Anmol

Reputation: 8670

how to get viewModel by viewModels? (fragment-ktx)

Score: 152

Views: 140763

Answers: 14

Read More
Jan Thürmann
Jan Thürmann

Reputation: 33

How to properly access UI state from ViewModel in onCreate() method so that UI is updated automatically

Score: 3

Views: 67

Answers: 1

Read More
alexandrade00
alexandrade00

Reputation: 63

Hilt Navigation Compose and ViewModel

Score: 5

Views: 69

Answers: 1

Read More
Code-Apprentice
Code-Apprentice

Reputation: 83567

Android ViewModel with Room database query and Jetpack Compose

Score: 1

Views: 124

Answers: 1

Read More
daniel-eh
daniel-eh

Reputation: 414

Restoring view model state when navigating back

Score: 0

Views: 49

Answers: 1

Read More
TenHorizons
TenHorizons

Reputation: 58

androidx.lifecycle:lifecycle.viewmodel.compose vs androidx.hilt:hilt.navigation.compose

Score: 0

Views: 153

Answers: 1

Read More
chrrissoft
chrrissoft

Reputation: 189

multiple View Models for each screen

Score: 5

Views: 5504

Answers: 1

Read More
Ali Othman
Ali Othman

Reputation: 1

Why does my Android client only collect a single emission from a Ktor SSE server?

Score: 0

Views: 124

Answers: 3

Read More
Pawandeep Singh
Pawandeep Singh

Reputation: 269

How to use view model to fetch multiple data at same time in Android?

Score: 1

Views: 39

Answers: 2

Read More
PreviousPage 1Next