Writing and reading between threads with Android Realm Writing and reading between threads with Android Realm multithreading multithreading

Writing and reading between threads with Android Realm


Emanuele from Realm here.

What you are describing is expected behavior :) Since the reader thread doesn't have a Looper, it has no way to receive notifications from the reader thread and will never update unless you manually execute a refresh.

In out repo we have several examples (not to mention unit tests) using threads with and without Looper, illustrating the current best practices.