Sign in Go Pro

Android Architecture Components - A Deep Dive

Transformations with MediatorLiveData

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

MediatorLiveData is used when you want to observe another LiveData and react when it changes. It is useful to create custom transformations.
It is quite powerful and it shines when you want to handle the logic of fetching the data from a database or from the web server.

In this lesson, we will look how to use MediatorLiveData and also see a snippet how can we use MediatorLiveData when dealing with database and web server.

Instructor

Links

Comments

There are no comments on this lesson, start the conversation below ...

>
You need to go PRO to post comments.

Lessons in Android Architecture Components - A Deep Dive