1 package androidx.cursoradapter.widget { 2 3 public abstract class CursorAdapter extends android.widget.BaseAdapter implements android.widget.Filterable { 4 ctor public deprecated CursorAdapter(android.content.Context, android.database.Cursor); 5 ctor public CursorAdapter(android.content.Context, android.database.Cursor, boolean); 6 ctor public CursorAdapter(android.content.Context, android.database.Cursor, int); 7 method public abstract void bindView(android.view.View, android.content.Context, android.database.Cursor); 8 method public void changeCursor(android.database.Cursor); 9 method public java.lang.CharSequence convertToString(android.database.Cursor); 10 method public int getCount(); 11 method public android.database.Cursor getCursor(); 12 method public android.widget.Filter getFilter(); 13 method public android.widget.FilterQueryProvider getFilterQueryProvider(); 14 method public java.lang.Object getItem(int); 15 method public long getItemId(int); 16 method public android.view.View getView(int, android.view.View, android.view.ViewGroup); 17 method protected deprecated void init(android.content.Context, android.database.Cursor, boolean); 18 method public android.view.View newDropDownView(android.content.Context, android.database.Cursor, android.view.ViewGroup); 19 method public abstract android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup); 20 method protected void onContentChanged(); 21 method public android.database.Cursor runQueryOnBackgroundThread(java.lang.CharSequence); 22 method public void setFilterQueryProvider(android.widget.FilterQueryProvider); 23 method public android.database.Cursor swapCursor(android.database.Cursor); 24 field public static final deprecated int FLAG_AUTO_REQUERY = 1; // 0x1 25 field public static final int FLAG_REGISTER_CONTENT_OBSERVER = 2; // 0x2 26 } 27 28 public abstract class ResourceCursorAdapter extends androidx.cursoradapter.widget.CursorAdapter { 29 ctor public deprecated ResourceCursorAdapter(android.content.Context, int, android.database.Cursor); 30 ctor public deprecated ResourceCursorAdapter(android.content.Context, int, android.database.Cursor, boolean); 31 ctor public ResourceCursorAdapter(android.content.Context, int, android.database.Cursor, int); 32 method public android.view.View newView(android.content.Context, android.database.Cursor, android.view.ViewGroup); 33 method public void setDropDownViewResource(int); 34 method public void setViewResource(int); 35 } 36 37 public class SimpleCursorAdapter extends androidx.cursoradapter.widget.ResourceCursorAdapter { 38 ctor public deprecated SimpleCursorAdapter(android.content.Context, int, android.database.Cursor, java.lang.String[], int[]); 39 ctor public SimpleCursorAdapter(android.content.Context, int, android.database.Cursor, java.lang.String[], int[], int); 40 method public void bindView(android.view.View, android.content.Context, android.database.Cursor); 41 method public void changeCursorAndColumns(android.database.Cursor, java.lang.String[], int[]); 42 method public androidx.cursoradapter.widget.SimpleCursorAdapter.CursorToStringConverter getCursorToStringConverter(); 43 method public int getStringConversionColumn(); 44 method public androidx.cursoradapter.widget.SimpleCursorAdapter.ViewBinder getViewBinder(); 45 method public void setCursorToStringConverter(androidx.cursoradapter.widget.SimpleCursorAdapter.CursorToStringConverter); 46 method public void setStringConversionColumn(int); 47 method public void setViewBinder(androidx.cursoradapter.widget.SimpleCursorAdapter.ViewBinder); 48 method public void setViewImage(android.widget.ImageView, java.lang.String); 49 method public void setViewText(android.widget.TextView, java.lang.String); 50 } 51 52 public static abstract interface SimpleCursorAdapter.CursorToStringConverter { 53 method public abstract java.lang.CharSequence convertToString(android.database.Cursor); 54 } 55 56 public static abstract interface SimpleCursorAdapter.ViewBinder { 57 method public abstract boolean setViewValue(android.view.View, android.database.Cursor, int); 58 } 59 60 } 61 62