Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

SavedStateHandle does not persist data

How do I access any directory and file in shared storage on newer Androids?

How to use a shared ViewModel, and avoid reusing the same instance of it every time with Navigation Component

Android SavedStateHandle doesn't save in ViewModel

android android-viewmodel

Compose creating new ViewModel instance

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