Gabor Varadi
1 min readAug 29, 2019

--

You’ll run into trouble if you try to use two-way databinding with managed objects, because all changes need to be transactional. It is however now possible IIRC to obtain a Realm instance from a managed RealmObject, in which case you manually could indeed set it up so that a managed RealmObject would make the modifications inside a transaction; whether using so many transactions though is safe is unclear.

--

--

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

No responses yet