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

Up next



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.




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

You need to go PRO to post comments.

Lessons in Realm & Android Architecture Components