I have a ListActivity with an array adapter declared like arrayAdapter = new ArrayAdapter<String> (this, android.R.layout.simple_list_item_checked);
This shows a bunch of rows with checkmarks on the far right. Can you tell me how to get a reference to those checkmarks or how to check/uncheck them?
The CheckedTextView itself handles the checkbox. It is passed in as the second argument (View v) in the onListItemClick handler. So, you can simplify your code as follows:
@Override
protected void onListItemClick( ListView l, View v, int position, long id)
{
CheckedTextView textView = (CheckedTextView)v;
textView.setChecked(!textView.isChecked());
}