public class SimpleCursorAdapter extends ResourceCursorAdapter
| Modifier and Type | Class and Description |
|---|---|
static interface |
SimpleCursorAdapter.CursorToStringConverter |
static interface |
SimpleCursorAdapter.ViewBinder |
FLAG_AUTO_REQUERY, FLAG_REGISTER_CONTENT_OBSERVERIGNORE_ITEM_VIEW_TYPE, NO_SELECTION| Constructor and Description |
|---|
SimpleCursorAdapter(Context context,
int layout,
Cursor c,
String[] from,
int[] to)
Deprecated.
|
SimpleCursorAdapter(Context context,
int layout,
Cursor c,
String[] from,
int[] to,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindView(View view,
Context context,
Cursor cursor) |
void |
changeCursorAndColumns(Cursor c,
String[] from,
int[] to) |
CharSequence |
convertToString(Cursor cursor) |
SimpleCursorAdapter.CursorToStringConverter |
getCursorToStringConverter() |
int |
getStringConversionColumn() |
SimpleCursorAdapter.ViewBinder |
getViewBinder() |
void |
setCursorToStringConverter(SimpleCursorAdapter.CursorToStringConverter cursorToStringConverter) |
void |
setStringConversionColumn(int stringConversionColumn) |
void |
setViewBinder(SimpleCursorAdapter.ViewBinder viewBinder) |
void |
setViewImage(ImageView v,
String value) |
void |
setViewText(TextView v,
String text) |
Cursor |
swapCursor(Cursor c) |
newDropDownView, newView, setDropDownViewResource, setViewResourcechangeCursor, getCount, getCursor, getDropDownView, getFilter, getFilterQueryProvider, getItem, getItemId, getView, hasStableIds, init, onContentChanged, runQueryOnBackgroundThread, setFilterQueryProviderareAllItemsEnabled, getItemViewType, getViewTypeCount, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver@Deprecated public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to)
public void bindView(View view, Context context, Cursor cursor)
bindView in class CursorAdapterpublic SimpleCursorAdapter.ViewBinder getViewBinder()
public void setViewBinder(SimpleCursorAdapter.ViewBinder viewBinder)
public int getStringConversionColumn()
public void setStringConversionColumn(int stringConversionColumn)
public SimpleCursorAdapter.CursorToStringConverter getCursorToStringConverter()
public void setCursorToStringConverter(SimpleCursorAdapter.CursorToStringConverter cursorToStringConverter)
public CharSequence convertToString(Cursor cursor)
convertToString in class CursorAdapterpublic Cursor swapCursor(Cursor c)
swapCursor in class CursorAdapterCopyright © 2008-2013. All Rights Reserved.