Search code examples
androidrealm

Is RealmBaseAdapter removed from realm-java?


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?


Solution

  • 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'
    }