Realm-java: Some query not working in 3.1.3.

Created on 24 Apr 2017  路  12Comments  路  Source: realm/realm-java

For example,

  1. Refresh the database,
  2. Checking database has content.
    etc.
T-Help

Most helpful comment

For the time being, you can do public class MyObject extends RealmObject implements Observable

All 12 comments

You really need to post more code, for example what thread is this on, do you use RxJava, etc

Hi Zhuinden,

I have not implemented RxJava. I need to confirm all the functionality will work in 3.1.3 version. Is any dependency is available. Because, Realm.refresh functionality is not working now.

You're in luck, it will be re-added in Realm 3.2.0.

K fine. I am in working on the project. Will the Realm 3.2.0 will release early.

Hi,

I have another doubt,
How can i use BaseObservable and RealmObject in same class.. for DataBinding.

Technically I would need to know your current Realm version, considering refresh was removed in 0.89.0, and that was about 1.5 years ago.

But Realm 3.1+ is closest to 0.88.3 in behavior, so that's great.

Please add the information as the issue template outlined.

For the time being, you can do public class MyObject extends RealmObject implements Observable

Hi,

Can we use this for above scenario
public class Person extends BaseObservable implements RealmModel{}
or
public class Person extends RealmBaseObservable {}

Is this proper way.. or want to use
public class MyObject extends RealmObject implements Observable

@RajeshkumarA-Contus See #4534 . For now you need to do:

public class Person extends RealmObject implements Observable {

}

K fine.. Thanks for your kind information.

I close the issue as @RajeshkumarA-Contus has a workaround until #4534 is implemented.

Was this page helpful?
0 / 5 - 0 ratings