|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.widget.BaseAdapter
android.widget.CursorAdapter
android.widget.ResourceCursorAdapter
android.widget.SimpleCursorAdapter
public class SimpleCursorAdapter
| Nested Class Summary | |
|---|---|
static interface |
SimpleCursorAdapter.CursorToStringConverter
|
static interface |
SimpleCursorAdapter.ViewBinder
|
| Field Summary |
|---|
| Fields inherited from class android.widget.CursorAdapter |
|---|
FLAG_AUTO_REQUERY, FLAG_REGISTER_CONTENT_OBSERVER |
| Fields inherited from interface android.widget.Adapter |
|---|
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class android.widget.ResourceCursorAdapter |
|---|
newDropDownView, newView, setDropDownViewResource, setViewResource |
| Methods inherited from class android.widget.CursorAdapter |
|---|
changeCursor, getCount, getCursor, getDropDownView, getFilter, getFilterQueryProvider, getItem, getItemId, getView, hasStableIds, init, onContentChanged, runQueryOnBackgroundThread, setFilterQueryProvider |
| Methods inherited from class android.widget.BaseAdapter |
|---|
areAllItemsEnabled, getItemViewType, getViewTypeCount, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public SimpleCursorAdapter(Context context,
int layout,
Cursor c,
String[] from,
int[] to)
public SimpleCursorAdapter(Context context,
int layout,
Cursor c,
String[] from,
int[] to,
int flags)
| Method Detail |
|---|
public void bindView(View view,
Context context,
Cursor cursor)
bindView in class CursorAdapterpublic SimpleCursorAdapter.ViewBinder getViewBinder()
public void setViewBinder(SimpleCursorAdapter.ViewBinder viewBinder)
public void setViewImage(ImageView v,
String value)
public void setViewText(TextView v,
String text)
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 CursorAdapter
public void changeCursorAndColumns(Cursor c,
String[] from,
int[] to)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||