0
我需要在Android的ListView控件你的幫助看法罷了。我使用下面的代碼:列表視圖時使用android.R.layout.simple_list_item_multiple_choice
Cursor c = getContentResolver().query(
People.CONTENT_URI, null, null, null, null);
startManagingCursor(c);
String[] columns = new String[] {People.NAME};
int[] names = new int[] {R.id.row_entry};
mAdapter = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_multiple_choice, c, columns, names);
lView.setAdapter(mAdapter);
因爲我想有複選框。之後,我怎麼能得到所有的價值檢查以及。
謝謝 Raksa的,