LoaderQueryRunner

public final class LoaderQueryRunner
extends Object implements ContentPager.QueryRunner

java.lang.Object
   ↳ androidx.contentpager.content.LoaderQueryRunner


A ContentPager.QueryRunner that executes queries using a LoaderManager. Use this when preparing ContentPager to run in an Activity or Fragment scope.

Summary

Public constructors

LoaderQueryRunner(Context context, LoaderManager loaderMgr)

Public methods

void cancel(Query query)

Attempt to cancel a (presumably) running query.

boolean isRunning(Query query)
void query(Query query, ContentPager.QueryRunner.Callback callback)

Execute a query.

Inherited methods