SimpleCursorAdapter

Class of android.widget · SimpleCursorAdapter.java · Android's reference

public class SimpleCursorAdapter extends ResourceCursorAdapter

SimpleCursorAdapter ← ResourceCursorAdapter ← CursorAdapter ← BaseAdapter

Binds columns of a cursor to TextViews and ImageViews of a row layout.

Nested types

Fields

protected int[] mFrom source
protected int[] mTo source

Constructors

public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) deprecated source
public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) source

Methods

public void bindView(View view, Context context, Cursor cursor) source
public ViewBinder getViewBinder() source
public void setViewBinder(ViewBinder viewBinder) source
public void setViewImage(ImageView v, String value) source
public void setViewText(TextView v, String text) source
public int getStringConversionColumn() source
public void setStringConversionColumn(int stringConversionColumn) source
public CursorToStringConverter getCursorToStringConverter() source
public void setCursorToStringConverter(CursorToStringConverter cursorToStringConverter) source
public CharSequence convertToString(Cursor cursor) source
public Cursor swapCursor(Cursor c) source
public void changeCursorAndColumns(Cursor c, String[] from, int[] to) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.