API reference

PagedResultsObserver Interface

Observe updates in PagedResults.

Signature

@FunctionalInterface interface PagedResultsObserver<T>

Methods

onPageUpdated ( fetchedPage )
Triggered when a new page is available.
Signature
abstract fun onPageUpdated(fetchedPage: Page<T>)
Parameters
fetchedPage: Page  the page that is associated with the current fetch.