StackOverflow Questions for Tag: viewmodel

Alberto Soligo
Alberto Soligo

Reputation: 15

Ui does not recompose upon updating the stateflow from the ViewModel

Score: 1

Views: 68

Answers: 1

Read More
Sahar Batool
Sahar Batool

Reputation: 45

java.lang.RuntimeException: Unable to start activity ComponentInfo{}: java.lang.reflect.InvocationTargetException

Score: 0

Views: 41

Answers: 0

Read More
Loliconaoquadrado
Loliconaoquadrado

Reputation: 33

How to access a viewmodel as a function argument?

Score: 1

Views: 29

Answers: 1

Read More
Runeaway3
Runeaway3

Reputation: 1449

How to pass a string to a view model upon initialization?

Score: 1

Views: 42

Answers: 1

Read More
Büşra Nur
Büşra Nur

Reputation: 11

I cannot fetch the data from viewmodel in ASP.NET Core MVC. My values for "input-asp-for" looks null in my view. How can I fix this problem?

Score: 1

Views: 78

Answers: 1

Read More
GrimPloughman
GrimPloughman

Reputation: 11

How to send ViewModel event on activity start in the ViewModel init function correctly?

Score: 0

Views: 75

Answers: 1

Read More
anon
anon

Reputation: 23

Make ComboBox Border red if item is not yet selected

Score: 2

Views: 166

Answers: 1

Read More
semicn
semicn

Reputation: 13

Scope same instance of a class to two viewmodels with dagger hilt

Score: 0

Views: 51

Answers: 0

Read More
Gulab Sagevadiya
Gulab Sagevadiya

Reputation: 991

how to pass custom args in hilt viewModel android

Score: 0

Views: 57

Answers: 1

Read More
Maryam12 forex
Maryam12 forex

Reputation: 19

How can binding from internal View model to method in ASP.NET

Score: 0

Views: 39

Answers: 0

Read More
Erdem
Erdem

Reputation: 81

How to call ViewModel.delete from RecyclerView Adapter?

Score: 2

Views: 2038

Answers: 1

Read More
Fabio De Cena
Fabio De Cena

Reputation: 1

How refers to only one element of a LazyColumn using ViewModel and UiState

Score: 0

Views: 44

Answers: 0

Read More
mumboFromAvnotaklu
mumboFromAvnotaklu

Reputation: 65

Composable not recomposing when state is changed inside the ViewModel

Score: 0

Views: 71

Answers: 2

Read More

Start Intent from ViewModel

Score: 3

Views: 211

Answers: 1

Read More
Nishant
Nishant

Reputation: 32233

Error in Jetpack compose when injecting viewModel in Main Activity

Score: 0

Views: 197

Answers: 1

Read More
groff07
groff07

Reputation: 2501

IllegalStateException: VIEW_MODEL_KEY must always be provided by ViewModelProvider

Score: 3

Views: 161

Answers: 0

Read More
Ivailo
Ivailo

Reputation: 41

Passing only a single ViewModel from a composite ViewModel to an HTTPPost method

Score: 0

Views: 44

Answers: 1

Read More
Ivailo
Ivailo

Reputation: 41

How to use 2 view models in 1 page - one for displaying information and one for reading information

Score: 1

Views: 29

Answers: 1

Read More
Yaswant Narayan
Yaswant Narayan

Reputation: 1342

LiveData in shared ViewModel crashing while setting empty observer - "Cannot add the same observer with different lifecycles"

Score: 1

Views: 46

Answers: 0

Read More
Mark Sayewich
Mark Sayewich

Reputation: 53

Difference between the Repository Pattern and the View Model Pattern

Score: 5

Views: 4379

Answers: 2

Read More
PreviousPage 6Next