Musing on Architectural Components and Realm and Room, and a look at Reactive Data Layer in Clean…
Gabor Varadi
1115

I think what people usually refer to when they talk about realm being all over the place is that your database references (RealmResults) leaks into pretty much everywhere, tying you to using Realm unless you want to change all your code.

A cleaner version of your Realm-based DAO would return Observables of your models (not realm-models) or LiveData objects of your models, confining Realm to a single place in your code.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.