ContentPager.ContentCallback


interface ContentPager.ContentCallback


Callback by which a client receives results of a query.

Summary

Public functions

Unit
@MainThread
onCursorReady(query: Query, cursor: Cursor?)

Called when paged cursor is ready.

Public functions

onCursorReady

Added in 1.0.0
@MainThread
fun onCursorReady(query: Query, cursor: Cursor?): Unit

Called when paged cursor is ready. Null, if query failed.

Parameters
query: Query

The query having been executed.

cursor: Cursor?

the query results. Null if query couldn't be executed.