Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

Cannot create an instance of ViewModel class (Unable to start activity ComponentInfo)

Shared viewmodel between fragments, without scoping to the activity? [duplicate]

Strange behavior of android's ViewModel

How to use Hilt to inject a safe-args argument into a viewmodel?

AndroidViewModel has no zero argument constructor [duplicate]

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