Sign in Go Pro

Realm & Android Architecture Components

Using LiveData Transformations w/ Realm

11/30/2017

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next

Previous

About

LiveData transformations allow you to make changes to the value stored in a LiveData object before dispatching it to observers. This lesson will teach you how to use LiveData with Transformations with Realm. ### Summary of Content (what you will learn): * How to apply the `Transformations.map` function to transform Realm LiveData. * How to consume the transformed LiveData in your Fragments & Activities. ### Additional Materials * [How to Apply the DAO Pattern to Realm](https://caster.io/lessons/realm-android-architecture-components-realm-daos/) * [How to use LiveData w/ Realm](https://caster.io/lessons/realm-android-architecture-components-live-data/)

Lessons in Realm & Android Architecture Components