I’m developing an app and I have one ListActivity, which has choice mode set to choice_mode_multiple. now i want to override method, which is called when one item is checked/unchecked, and I’ve found out that onCheckChanged() method is implemented only for RadioGroup and compund Button. how can I override something like this in ListActivity? or do I have to implement my own Adapter? thanks
I’m developing an app and I have one ListActivity , which has choice mode
Share
Set onlistitemclick listener to listview , then in itemclick method you can get mylistView.getCheckedItemCount() , write the code of the operation to be performed.
If this is not clear let me know what you want to implement when item is checked.