ContentPager.ContentCallback

public static interface ContentPager.ContentCallback

androidx.contentpager.content.ContentPager.ContentCallback


Callback by which a client receives results of a query.

Summary

Public methods

abstract void onCursorReady(Query query, Cursor cursor)

Called when paged cursor is ready.

Public methods

onCursorReady

public abstract void onCursorReady (Query query, 
                Cursor cursor)

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.