Viewmodel Questions

Ad

How to get LiveData from Room?

I'm trying to get livedata from room. so my recycleview can have live updates if anything in database is changed i have tried with out

what is ViewModelFactory

What is viewmodelfactory and when and why should i use it i am new to android and actually i can't understand these concepts in mvvm

Dagger2 + ViewModel + Repository

I am new to dagger 2 and trying to implement it in kotlin. here i am trying to inject my repository object into viewmodel. i am successfully able
Ad

Android Room + ViewModel usage

I want to use android's room + viewmodel components for my app, but i'm not quite sure how. one of my database tables is going to represent
Ad
Ad
Ad

Observe a MutableLiveData list

I am using live data in my application and i have a view model that extends from viewmodel. in my view model, i have a list
Ad
Ad
Ad

ExoPlayer in MVVM

I am trying to use exoplayer in my app, and i am following mvvm design pattern, i want to make playerviewmodel class where it handle all the
Ad
Ad
Ad

Blog Categories

Ad