@Implements(value=android.widget.SimpleCursorAdapter.class) public class ShadowSimpleCursorAdapter extends ShadowResourceCursorAdapter
SimpleCursorAdapter.| Modifier and Type | Field and Description |
|---|---|
protected int[] |
mFrom |
protected int[] |
mTo |
mAutoRequery, mChangeObserver, mContext, mCursor, mDataSetObserver, mDataValid, mFilterQueryProvider, mRowIDColumn| Constructor and Description |
|---|
ShadowSimpleCursorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
__constructor__(android.content.Context context,
int layout,
android.database.Cursor c,
String[] from,
int[] to)
Constructor.
|
void |
__constructor__(android.content.Context context,
int layout,
android.database.Cursor c,
String[] from,
int[] to,
int flags) |
void |
bindView(android.view.View view,
android.content.Context context,
android.database.Cursor cursor) |
void |
changeCursor(android.database.Cursor c) |
void |
changeCursorAndColumns(android.database.Cursor c,
String[] from,
int[] to) |
CharSequence |
convertToString(android.database.Cursor cursor) |
android.widget.SimpleCursorAdapter.CursorToStringConverter |
getCursorToStringConverter() |
android.view.View |
getDropDownView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
int |
getStringConversionColumn() |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
android.widget.SimpleCursorAdapter.ViewBinder |
getViewBinder() |
void |
setCursorToStringConverter(android.widget.SimpleCursorAdapter.CursorToStringConverter cursorToStringConverter) |
void |
setStringConversionColumn(int stringConversionColumn) |
void |
setViewBinder(android.widget.SimpleCursorAdapter.ViewBinder viewBinder) |
void |
setViewImage(android.widget.ImageView v,
String value) |
void |
setViewText(android.widget.TextView v,
String text) |
android.database.Cursor |
swapCursor(android.database.Cursor c) |
__constructor__, __constructor__, __constructor__, newDropDownView, newView, setDropDownViewResource, setViewResource__constructor__, __constructor__, __constructor__, getCount, getCursor, getFilterQueryProvider, getItem, getItemId, hasStableIds, onContentChangedInternal, runQueryOnBackgroundThread, setFilterQueryProvider, setViewsclearWasDataSetChangedCalledFlag, notifyDataSetChanged, wasNotifyDataSetChangedCalledpublic void __constructor__(android.content.Context context,
int layout,
android.database.Cursor c,
String[] from,
int[] to)
context - The context where the ListView associated with this
SimpleListItemFactory is runninglayout - resource identifier of a layout file that defines the views
for this list item. The layout file should include at least
those named views defined in "to"c - The database cursor. Can be null if the cursor is not available yet.from - A list of column names representing the data to bind to the UI. Can be null
if the cursor is not available yet.to - The views that should display column in the "from" parameter.
These should all be TextViews. The first N views in this list
are given the values of the first N columns in the from
parameter. Can be null if the cursor is not available yet.public void __constructor__(android.content.Context context,
int layout,
android.database.Cursor c,
String[] from,
int[] to,
int flags)
@Implementation
public void bindView(android.view.View view,
android.content.Context context,
android.database.Cursor cursor)
@Implementation public android.widget.SimpleCursorAdapter.ViewBinder getViewBinder()
@Implementation public void setViewBinder(android.widget.SimpleCursorAdapter.ViewBinder viewBinder)
@Implementation
public void setViewImage(android.widget.ImageView v,
String value)
@Implementation
public void setViewText(android.widget.TextView v,
String text)
@Implementation public int getStringConversionColumn()
@Implementation public void setStringConversionColumn(int stringConversionColumn)
@Implementation public android.widget.SimpleCursorAdapter.CursorToStringConverter getCursorToStringConverter()
@Implementation public void setCursorToStringConverter(android.widget.SimpleCursorAdapter.CursorToStringConverter cursorToStringConverter)
@Implementation public CharSequence convertToString(android.database.Cursor cursor)
convertToString in class ShadowCursorAdapter@Implementation public android.database.Cursor swapCursor(android.database.Cursor c)
swapCursor in class ShadowCursorAdapter@Implementation public void changeCursor(android.database.Cursor c)
changeCursor in class ShadowCursorAdapter@Implementation
public void changeCursorAndColumns(android.database.Cursor c,
String[] from,
int[] to)
@Implementation
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
getView in class ShadowCursorAdapter@Implementation
public android.view.View getDropDownView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
Copyright © 2015. All rights reserved.