Skip to content
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

Mixing asynchronous and synchronous queries warning. #9

Open
ghost opened this issue Dec 13, 2016 · 0 comments
Open

Mixing asynchronous and synchronous queries warning. #9

ghost opened this issue Dec 13, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 13, 2016

Dear,

I have been watching the BucketDrops videos on Udemy. I am semi-new at Android. I am now on Lecture Section 11, Lecture 67 (Show data inside adapter inside database) I understand that Android studio has been update several times since this video, but I am getting a warning which I cannot figure out how to resolve. When adding a new Drop, it will not display on the background initially. You have to restart the app for it to update. Also, when adding a new drop, I get the warning below:

E/Surface: getSlotFromBufferLocked: unknown buffer: 0xaaa3acc0
W/REALM_JAVA: Mixing asynchronous queries with local writes should be avoided. Realm will convert any async queries to synchronous in order to remain consistent. Use asynchronous writes instead. You can read more here: https://realm.io/docs/java/latest/#asynchronous-transactions

How can I resolve this? Your urgent help on the matter is greatly appreciated. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants