FireStorePagingAdapter not receiving realtime updates

时光总嘲笑我的痴心妄想 提交于 2019-12-17 16:54:36

问题


I am testing FirestorePagingAdapter from https://github.com/firebase/FirebaseUI-Android/tree/version-3.4.0-dev

The problem is, I'm not receiving update / change / delete events (when items do change). What can I be missing that everything works perfect, but I just don't receive the realtime events?


回答1:


What you're seeing is the expected behavior.

The FirestorePagingAdapter in the FirebaseUI library is designed to get data, not to listen for realtime updates.



来源:https://stackoverflow.com/questions/50273741/firestorepagingadapter-not-receiving-realtime-updates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!