public abstract class CursorAdapter extends BaseAdapter implements Filterable
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_AUTO_REQUERY
Deprecated.
|
static int |
FLAG_REGISTER_CONTENT_OBSERVER |
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION| Constructor and Description |
|---|
CursorAdapter(Context context,
Cursor c)
Deprecated.
|
CursorAdapter(Context context,
Cursor c,
boolean autoRequery) |
CursorAdapter(Context context,
Cursor c,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
bindView(View view,
Context context,
Cursor cursor) |
void |
changeCursor(Cursor cursor) |
CharSequence |
convertToString(Cursor cursor) |
int |
getCount() |
Cursor |
getCursor() |
View |
getDropDownView(int position,
View convertView,
ViewGroup parent) |
Filter |
getFilter() |
FilterQueryProvider |
getFilterQueryProvider() |
Object |
getItem(int position) |
long |
getItemId(int position) |
View |
getView(int position,
View convertView,
ViewGroup parent) |
boolean |
hasStableIds() |
protected void |
init(Context context,
Cursor c,
boolean autoRequery)
Deprecated.
|
View |
newDropDownView(Context context,
Cursor cursor,
ViewGroup parent) |
abstract View |
newView(Context context,
Cursor cursor,
ViewGroup parent) |
protected void |
onContentChanged() |
Cursor |
runQueryOnBackgroundThread(CharSequence constraint) |
void |
setFilterQueryProvider(FilterQueryProvider filterQueryProvider) |
Cursor |
swapCursor(Cursor newCursor) |
areAllItemsEnabled, getItemViewType, getViewTypeCount, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver@Deprecated public static final int FLAG_AUTO_REQUERY
public static final int FLAG_REGISTER_CONTENT_OBSERVER
@Deprecated public CursorAdapter(Context context, Cursor c)
@Deprecated protected void init(Context context, Cursor c, boolean autoRequery)
public Cursor getCursor()
public boolean hasStableIds()
hasStableIds in interface AdapterhasStableIds in class BaseAdapterpublic View getDropDownView(int position, View convertView, ViewGroup parent)
getDropDownView in interface SpinnerAdaptergetDropDownView in class BaseAdapterpublic void changeCursor(Cursor cursor)
public CharSequence convertToString(Cursor cursor)
public Cursor runQueryOnBackgroundThread(CharSequence constraint)
public Filter getFilter()
getFilter in interface Filterablepublic FilterQueryProvider getFilterQueryProvider()
public void setFilterQueryProvider(FilterQueryProvider filterQueryProvider)
protected void onContentChanged()
Copyright © 2008-2013. All Rights Reserved.