Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-viewmodel

MVVM - handling Disposable-s in ViewModel with RxJava and Room

Preferred Fragment lifecycle method for instantiating ViewModels

Android data binding inject ViewModel in custom view

How to read data and listen to changes from Room database in a Service?

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?