Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

Saving activity's state with onSaveInstanceState() and ViewModel

How to pass runtime parameters to a ViewModel's constructor when using Hilt for dependency injection?

Failed to resolve: androidx.lifecycle:lifecycle-extensions-ktx:2.0.0-alpha1

How do I use the new Saved State Module of ViewModel

The correct way to obtain a ViewModel instance outside of an Activity or a Fragment

Why Observers added as observeForever to LiveData must be removed?

How ViewModel survives configuration change

Bindable must be on a member in an Observable class

ViewPager with viewmodel and live data , all 6 tabs data is replaced by last tab data

Dagger-Hilt: @ViewModelInject is not injecting MyViewModel and crash?

LiveDataScope vs ViewModelScope in Android

When to dispose RxJava2 Disposable in ViewModel?

Should we Use ViewModels to communicate between 2 different fragments or bundles in single activity App Architecture?

LiveData Transformations.map() with multiple arguments

How to mock the view model with Hilt for unit testing fragments?

DefaultActivityViewModelFactory not found

Android Arch Components ViewModel and LiveData trigger after screen rotation

Android ViewModel inside Service (Alternative)

View models for RecyclerView items

Understanding Android Architecture Components example GithubBrowserSample: ViewModelModule, ViewModel parameters