我有数据是插入PostKey和评级的云功能。以下图片为新饲料,帖子
我使用FirebaseIndexRecyclerAdapter获取数据
FirebaseIndexRecyclerAdapter<Post, FeedFragment.PostViewHolder> firebaseIndexRecyclerAdapter = new FirebaseIndexRecyclerAdapter<Post, FeedFragment.PostViewHolder>(
Post.class,
R.layout.post_row,
FeedFragment.PostViewHolder.class,
FirebaseRef.mNewfeedRef.child(UID),
FirebaseRef.mPostRef
) {我认为的解决办法是
请帮忙,让我知道怎么做。谢谢:D
发布于 2017-06-12 23:05:32
FirebaseUI-Android组件不支持分页。它们目前要求您提供一个查询,生成要显示的所有结果。在滚动列表时,无法逐步提供更多查询。还可以看到在这个问题上讨论FirebaseUI-Android的Github回购。
https://stackoverflow.com/questions/44508348
复制相似问题