-
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 1884 listener trigger #1892
Conversation
c03f5c0
to
88e61b3
Compare
@realm/java |
@@ -74,7 +74,11 @@ public DynamicRealmObject createObject(String className) { | |||
checkIfValid(); | |||
Table table = schema.getTable(className); | |||
long rowIndex = table.addEmptyRow(); | |||
return get(DynamicRealmObject.class, className, rowIndex); | |||
DynamicRealmObject dynamicRealmObject = get(DynamicRealmObject.class, className, rowIndex); | |||
if (handlerController != null) { |
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.
This is also part of the above get
method?
👍 @realm/java |
@@ -677,4 +677,9 @@ public static void exitOrThrow(final ExecutorService executorService, | |||
throw throwable[0]; | |||
} | |||
} | |||
|
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.
Thanks for moving it!
Looks fine to me. |
👍 apart from minor indent issue |
fixed the indent issue. |
55ab4e0
to
133cd43
Compare
👍 squashed |
retest this please |
2 similar comments
retest this please |
retest this please |
Nh/fix 1884 listener trigger
register RealmObject created with + add their UnitTest