小编pha*_*nlu的帖子

如何从Android分页组件中的PagedListAdapter中删除项目

我使用Paging with Retrofit从REST API加载Notifications数据列表.

当我按下通知项目的删除按钮时,我调用删除API删除它.PagedListAdapter删除API响应成功后删除它的正确方法是什么?PagedListPagedListAdapter不支持通过索引或对象删除项目.

我试着打电话DataSource.validate()但它从开始重新加载,而不是从当前页面重新加载.

android android-architecture-components android-paging

11
推荐指数
1
解决办法
2597
查看次数

当Cloud Firestore的测试期结束时会发生什么

我想在Cloud Firestore中保存一些数据并将其用作REST API,但在文档中它说:

所有REST API端点都存在于基本URL https://firestore.googleapis.com/v1beta1/下

当Firestore结束测试版时,它是否会将基本URL更改为,例如https://firestore.googleapis.com/stable/.

我的测试版数据会怎样?我可以全部使用只能使用稳定版吗?

firebase google-cloud-firestore

5
推荐指数
1
解决办法
2832
查看次数