i have a question, been stuck for a while, i dont know how can i add a checkbox in the list, for example if I have a list of items i want to be able to check them. my xml c
final ListView lView = (ListView) findViewById(R.id.ListView01); lView.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_multiple_choice, items)); lView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
Here item is an array.