摘要:
Cursor cursor = db.rawQuery("select _id,NAME"+ "from table ", null);SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.activity_item,cursor, new String[] { "_id", "NAME" }, new int[]{ R.id.item_ID, R.id.item_Name });注意:SimpleCursorAdapter中字段名
阅读全文