Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thanks, @Эльнар Берхеев, it helped! Just in case it would help someone: I had to make few other changes to build the project. Commented Jan 16, 2017 at 6:37
  • 1
    Theres no need for args in RealmConfiguretion.Build() call and I had to call Realm.init(context) before it. Also refresh(), clean() and allObjects() method were replaced with waitForChange(), delete() and where().findAll() methods respectively, as stated here: github.com/realm/realm-java/issues/2864. Cheers! Commented Jan 16, 2017 at 6:51
  • waitForChange() works differently than refresh(), use this instead stackoverflow.com/a/38839808/2413303 Commented Jan 16, 2017 at 8:15