androidx 分页和android-arch 分页有区别吗?

Is there any difference between androidx paging and android-arch paging?

我必须为我的 android 项目设置分页。 但我有点困惑,因为有两个不同的库具有相同的 class 名称 AndroidArchitectureComponents 和 AndroidX。

而且在文档中我也没有发现差异,方法也是一样的。

两者的主要区别是什么?

androidx 是 Google 推出的新包结构。与支持库不同,AndroidX 包是单独维护和更新的。所有新的支持库开发都将在 AndroidX 库中进行。因此,androidx 分页将包含新的改进,并且打包结构将不同于使用 androidX 包的正常 one.For,您必须将项目迁移到 androidX。参考:[https://developer.android.com/jetpack/androidx/migrate]