-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nh/fix 1894 changelistener not called #1927
Conversation
@realm/java |
dog.addChangeListener(new RealmChangeListener() { | ||
@Override | ||
public void onChange() { | ||
assertEquals("Akamaru", dog.getName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even ninja dogs can't hide when they are in a Realm :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
poof
retest this please |
1 similar comment
retest this please |
@@ -6,6 +6,9 @@ | |||
* Updated ProGuard configuration (#1904). | |||
* Fixed a bug which could cause a crash when closing Realm instances in change listeners (#1900). | |||
* Fix a crash occurring during update of multiple async queries (#1895). | |||
* Fix (#1884) listeners not triggered for RealmObject & RealmResults created using copy or create methods. | |||
* Fix (#1894) RealmChangeListener never called inside RealmResults. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move issue to the end
Small comment about wording in the changelog, otherwise 👍 |
e399a1f
to
734f03e
Compare
👍 |
…lled Nh/fix 1894 changelistener not called
fix #1894 + provide a work around for #1886 while waiting for core fix, the work around avoid calling sync_if_needed if the RealmObject/RealmResults doesn't have any listeners
Note: it will be faster (small diff) to review this PR first #1892