SyncMapPaginator

interface SyncMapPaginator

Interface for paginating over SyncMap items retrieved using queryItems.

Types

Link copied to clipboard
interface Listener
Interface for receiving async result from requestNextPage and requestPreviousPage.

Functions

Link copied to clipboard
abstract fun getItems(): ArrayList<SyncMap.Item>
Link copied to clipboard
abstract fun getPageSize(): Long
Link copied to clipboard
abstract fun hasNextPage(): Boolean
Link copied to clipboard
abstract fun hasPreviousPage(): Boolean
Link copied to clipboard
abstract fun requestNextPage(listener: SyncMapPaginator.Listener)
Retrieve contents of a next page of the SyncMapPaginator.
Link copied to clipboard
abstract fun requestPreviousPage(listener: SyncMapPaginator.Listener)
Retrieve contents of a previous page of the SyncMapPaginator.