Android: Testing Realm
André Diermann
262

Realm unfortunately doesn't support inMemory database without Android Context anymore.

Configuration Builder depends on context

public Builder() {
this(BaseRealm.applicationContext);
}

Builder(Context context) {
if (context == null) {
throw new IllegalStateException("Call `Realm.init(Context)` before creating a RealmConfiguration");
}
RealmCore.loadLibrary(context);
initializeBuilder(context);
}
One clap, two clap, three clap, forty?

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