Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

Trigger kotlin flow again on pull-to-refresh

Using LiveData and ViewModel without using Room

Applying MVVM between ViewModel and Fragment/Activity interactions and communication

Is there any benefits to using LiveData rather than a regular callback?

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()?