Sign in Go Pro

Realm & Android Architecture Components

Using Kotlin Extensions for LiveData Creation

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Previous

About

This lesson will teach you how to use Kotlin Extensions to create LiveData from any RealmResults or RealmModel in your application.

Summary of Content (what you will learn):

  • How to create LiveData from any RealmResults via a simple realmResults.asLiveData() invocation.
  • How to create LiveData from any RealmModel via a simple realmModel.asLiveData() invocation.
  • You'll learn how to create these extensions generically, to apply to any Realm model type.

Instructor

Links

Lessons in Realm & Android Architecture Components