Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is RealmBaseAdapter removed from realm-java?

Tags:

android

realm

I am trying to use an example from realm-java on github and figured that RealmBaseAdapter has been removed from io.realm package. Where is it being saved now?

like image 230
user4122421 Avatar asked Jun 29 '16 18:06

user4122421


1 Answers

It has been split into a separate dependency as of Realm Java v0.90. Per the Adapters section of the Realm Java documentation, you should add the following to your build.gradle to use RealmBaseAdapter:

dependencies {
    compile 'io.realm:android-adapters:2.1.0'
}
like image 191
bdash Avatar answered Sep 20 '22 23:09

bdash