Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

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

Best practice to combine android ViewModel and data binding

Can I eliminiate viewmodel and viewbinding boilerplate code in my Android Fragments?

Livedata with Viewpager2-Fragments

Recyclerview ListAdapter DiffUtil not working as expected