On Tue, Mar 22, 2011 at 8:50 PM, handlez36 <[email protected]> wrote:
> 1. Define a checkbox in the row layout xml file myself? This would require > that, upon choosing the "delete multiple rows" option I check which rows > have a checked checkbox and take action on those. > That, but you would not care about the CheckBoxes. Those are just UI elements that let the user control the state of the underlying data. Instead, your checking of the boxes would update the state of the object it represents, then when choosing "delete multiple rows" you iterate through your custom objects in your adapter and find the ones that have the checked state. You have to maintain this state anyway as list view entries are recycled and have to be reset to show up correctly. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

