ResourceCursorAdapterpublic abstract class ResourceCursorAdapter extends CursorAdapter Static library support version of the framework's {@link android.widget.ResourceCursorAdapter}.
Used to write apps that run on platforms prior to Android 3.0. When running
on Android 3.0 or above, this implementation is still used; it does not try
to switch to the framework's implementation. See the framework SDK
documentation for a class overview. |
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);
|
|