完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/CursorAdapter.html
CursorAdapter
public abstract class CursorAdapter
extends BaseAdapter
implements Filterable, ThemedSpinnerAdapter
java.lang.Object | ||
↳ | android.widget.BaseAdapter | |
↳ | android.widget.CursorAdapter |
Adapter that exposes data from a Cursor
to a ListView
widget.
将数据从Cursor
导入到ListView
控件的适配器。
The Cursor must include a column named "_id" or this class will not work. Additionally, using MergeCursor
with this class will not work if the merged Cursors have overlapping values in their "_id" columns.
Cursor必须包含一个名为“_id”的列,否则这个类将无法工作。另外,如果合并的游标在它们的“_id”列中有相同的值,那么使用这个类使用的MergeCursor
将不会工作。
摘要
常量 | |
---|---|
int | FLAG_AUTO_REQUERY This constant was deprecated in API level 11. This option is discouraged, as it results in Cursor queries being performed on the application's UI thread and thus can cause poor responsiveness or even Application Not Responding errors. As an alternative, use |
int | FLAG_REGISTER_CONTENT_OBSERVER If set the adapter will register a content observer on the cursor and will call |
继承常量 |
---|
From interface android.widget.Adapter
|