使用 Dropbox 分页

Pagination with Dropbox

我必须使用列出的 Dropbox 文件实现可分页网格,我需要这两个函数: - 抵消 - 极限

我知道我可以使用 ListFolderGetLatestCursorBuilder 来设置限制,但我怎样才能实现偏移?

Dropbox API ListFolder 功能不提供在结果中请求特定偏移量的方法。您应该使用 listFolderContinue to call repeatedly as necessary to get all of the results to match the server state. Be sure to review the listFolder documentation 查看如何处理结果以获得准确的表示。