Realm & Android Architecture Components
Using Kotlin Extensions for Realm Dao Creation
Up next
Previous
About
Kotlin Extensions allow you to add new functionality to existing, final classes, such as a Realm
instance. This lesson will teach you how to use Kotlin Extensions to create your Realm Application DAOs from any realm instance.
Summary of Content (what you will learn):
- How to create a DAO via a simple
realm.createYourDao()
invocation. - You'll see how this feels very natural in your Kotlin code and why this makes sense semantically to tie the creation method to a Realm instance.
Instructor
Links
Lessons in Realm & Android Architecture Components
How to Apply the DAO Pattern to Realm
10:39
How to use LiveData w/ Realm

07:03
Using LiveData Transformations w/ Realm

Pro
03:03
Abstracting RealmResults from your Application to Reduce Coupling and Improve Testability

Pro
03:14
How to Abstract Realm Completely from Activities and Fragments

Pro
03:50
Using Kotlin Extensions for Realm Dao Creation

Pro
01:59
Using Kotlin Extensions for LiveData Creation

Pro
03:22

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty