Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

Lateinit property viewModel has not been initialized

How do I create a ViewModel with a SavedStateHandle and another argument?

android android-viewmodel

Share viewmodel from activity to compose function using hilt

Too many XML data bindings

Is it ok to have different ViewModels for each Composable on a single screen in Android?

ExoPlayer in MVVM

What is better to update a view model's MutableStateFlow, _uiState.update{} or _uiState.value = _uiState.value.copy()?

Difference between by viewmodels and viewmodel creation using Factory?

Share ViewModel used by calling Fragment to DialogFragment using by viewModels

Trying to find a way to have my viewmodel in compose preview

Koin sharedViewModel with SavedStateHandle

Fragment doesn't get value from ViewModel

Where to place Toasts, Snackbars etc. in era of Android Architecture Components

MutableLiveData<Pair<Float, Float>>() -> Val cannot be reassigned

Dagger-Hilt @ViewModelInject sharedViewModel not injecting into fragment

Viewmodel instantiated in Compose with hiltviewmodel() called multiple times