ContentPager.ContentCallback


public interface ContentPager.ContentCallback


Callback by which a client receives results of a query.

Summary

Public methods

abstract void

Called when paged cursor is ready.

Public methods

onCursorReady

Added in 1.0.0
@MainThread
abstract void onCursorReady(@NonNull Query query, @Nullable Cursor cursor)

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

Parameters
@NonNull Query query

The query having been executed.

@Nullable Cursor cursor

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