Skip to content

Mixing asynchronous and synchronous queries warning. #9

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions