I’ve a listView inside a FrameLayout Activity (not list Activity).
I can listen to clicks using checkbox.setOnCheckedChangeListener(this)
How do I determine which checkbox was clicked? I dont get any index.
ps OnListItemClicked is out of scope since I’m not using ListActivity
You can implement onListItemClickListener(). Iterate all the listview items and check each item (each item child view).
or you can check in
getView()method if the item checkbox is checked or not.