ResourceCursorAdapterpublic abstract class ResourceCursorAdapter extends CursorAdapter An easy adapter that creates views defined in an XML file. You can specify
the XML file that defines the appearance of the views. |
Fields Summary |
---|
private int | mLayout | private int | mDropDownLayout | private android.view.LayoutInflater | mInflater |
Constructors Summary |
---|
public ResourceCursorAdapter(android.content.Context context, int layout, android.database.Cursor c)Constructor the enables auto-requery.
super(context, c);
mLayout = mDropDownLayout = layout;
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
| public ResourceCursorAdapter(android.content.Context context, int layout, android.database.Cursor c, boolean autoRequery)Constructor with default behavior as per
{@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}.
When using this constructor, {@link #FLAG_REGISTER_CONTENT_OBSERVER}
will always be set.
super(context, c, autoRequery);
mLayout = mDropDownLayout = layout;
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
| public ResourceCursorAdapter(android.content.Context context, int layout, android.database.Cursor c, int flags)Standard constructor.
super(context, c, flags);
mLayout = mDropDownLayout = layout;
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
|