Sometimes findAllAsync() does not call the change listener.
I created a sample project that demonstrates the issue. Actually, I just copied the _RealmTasks_ example, removed the Facebook SDK and then replaced findAll() with findAllAsync(). You can find it here: https://github.com/joluet/RealmTasksDemo
This project lets you reproduce the issue consistently. To reproduce it I follow these steps:
Also, deleting, adding, or editing list items can make task lists disappear.
Thank you very much for this. We will look into it.
Thanks for you report. I reproduced this problem and I am checking whether there is a mistake of RealmTasks first.
@dalinaum @cmelchior any progress on this one?
@dalinaum What is the status on this?
We need to verify that this is still a problem after #3834 has been merged.
@joluet There is a work-around. If you move some code from onStart and onStop to onResume and onPause, it would works. I doubt that there are some timing issues.
We will look into this issue with a new implementation soon.
I don't think that should affect anything,.. 😞
@dalinaum can you please help to verify if this is fixed by #3834? It has been merged to the master and the snapshot should be available.
This should have been fixed by either Realm 3.0 or Realm 3.1....
This should have been fixed by Realm Java 3.1 with notifications on commit.
Most helpful comment
Thank you very much for this. We will look into it.