1package android.support.content { 2 3 public class ContentPager { 4 ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.QueryRunner); 5 ctor public ContentPager(android.content.ContentResolver, android.support.content.ContentPager.QueryRunner, int); 6 method public static android.os.Bundle createArgs(int, int); 7 method public android.support.content.Query query(android.net.Uri, java.lang.String[], android.os.Bundle, android.os.CancellationSignal, android.support.content.ContentPager.ContentCallback); 8 method public void reset(); 9 field public static final int CURSOR_DISPOSITION_COPIED = 1; // 0x1 10 field public static final int CURSOR_DISPOSITION_PAGED = 2; // 0x2 11 field public static final int CURSOR_DISPOSITION_REPAGED = 3; // 0x3 12 field public static final int CURSOR_DISPOSITION_WRAPPED = 4; // 0x4 13 field public static final java.lang.String EXTRA_HONORED_ARGS = "android.content.extra.HONORED_ARGS"; 14 field public static final java.lang.String EXTRA_REQUESTED_LIMIT = "android-support:extra-ignored-limit"; 15 field public static final java.lang.String EXTRA_SUGGESTED_LIMIT = "android-support:extra-suggested-limit"; 16 field public static final java.lang.String EXTRA_TOTAL_COUNT = "android.content.extra.TOTAL_COUNT"; 17 field public static final java.lang.String QUERY_ARG_LIMIT = "android:query-arg-limit"; 18 field public static final java.lang.String QUERY_ARG_OFFSET = "android:query-arg-offset"; 19 } 20 21 public static abstract interface ContentPager.ContentCallback { 22 method public abstract void onCursorReady(android.support.content.Query, android.database.Cursor); 23 } 24 25 public static abstract class ContentPager.CursorDisposition implements java.lang.annotation.Annotation { 26 } 27 28 public static abstract interface ContentPager.QueryRunner { 29 method public abstract void cancel(android.support.content.Query); 30 method public abstract boolean isRunning(android.support.content.Query); 31 method public abstract void query(android.support.content.Query, android.support.content.ContentPager.QueryRunner.Callback); 32 } 33 34 public static abstract interface ContentPager.QueryRunner.Callback { 35 method public abstract void onQueryFinished(android.support.content.Query, android.database.Cursor); 36 method public abstract android.database.Cursor runQueryInBackground(android.support.content.Query); 37 } 38 39 public final class LoaderQueryRunner implements android.support.content.ContentPager.QueryRunner { 40 ctor public LoaderQueryRunner(android.content.Context, android.app.LoaderManager); 41 method public void cancel(android.support.content.Query); 42 method public boolean isRunning(android.support.content.Query); 43 method public void query(android.support.content.Query, android.support.content.ContentPager.QueryRunner.Callback); 44 } 45 46 public final class Query { 47 method public int getId(); 48 method public int getLimit(); 49 method public int getOffset(); 50 method public android.net.Uri getUri(); 51 } 52 53} 54 55