In Android Am Using Multiple Choice List For Contact Selection How To Select All Contact At One Button Click
Hi am using multiple choice list can any one tell me how should i select all item on any button click event or how unselect all item on button click event my code is here /** Calle
Solution 1:
I would create custom adapter that extends ArrayAdapter and ListView item that would contain e.g. CheckBox. Than inside adapter class getView() method handle selected items position to get objects on current position and you can do anything you wish. You can have a look at this tutorial - 12. Selecting multiple items in the ListView
http://www.vogella.com/articles/AndroidListView/article.html
Post a Comment for "In Android Am Using Multiple Choice List For Contact Selection How To Select All Contact At One Button Click"