Architecture-components-samples: PagingRequestHelper does not exists in documentation yet it's in samples

Created on 16 Jun 2018  路  8Comments  路  Source: android/architecture-components-samples

PagingRequestHelper contains the import android.arch.paging.PagingRequestHelper. But when you look it up in the developer docs, the class does not exists. I'm trying to find how the code works and recreate it.

Most helpful comment

Might I ask why it is named under package android.arch.paging, but it is not listed in the code of Paging library? It would be not convenient for any one who uses such class to copy it in their own project, which also adds maintainability responsibility that is error-prone.

All 8 comments

It's here

Ah. Wonderful. I remembered that path but it didn't come to mind to go back up the file hierarchy. Okay. Thank you @Zhuinden

Might I ask why it is named under package android.arch.paging, but it is not listed in the code of Paging library? It would be not convenient for any one who uses such class to copy it in their own project, which also adds maintainability responsibility that is error-prone.

Is this going to be part of Jetpack Paging library?

Updated Link

It was not added into Paging 1.x and 2.x, and 3.x is going to be rewritten entirely. Probably not.

Does this exist in any library now?

They said likely to be moved into the lib, now it's unlikely :wink:

APIs for refresh, retry and load state (including errors) are now built into Paging3, so I can confirm there are no longer any plans to release PagingRequestHelper as part of Paging.

Was this page helpful?
0 / 5 - 0 ratings