Re: [mono-android] using a checkbox in a listview

2012-04-03 Thread Craig Dunn
I think the MWC example approach is probably suitable (as someone already pointed out), since using the built-in Android multi-select behavior for ListView is really all about the 'click' performing the 'selection' and not really having dual functions. Having said that, I think you can force the L

Re: [mono-android] using a checkbox in a listview

2012-04-03 Thread mlwright
anybody have any ideas on how to do this in mono -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/using-a-checkbox-in-a-listview-tp5598987p5615899.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] using a checkbox in a listview

2012-03-28 Thread mlwright
Origianly I have a listview which lists people in my database. In the listview you would see ID,LastName,FirstName. And when selecting one, by using ListView_ItemClick you could find out which item was selected and do something with that person. Well now what I want to do is two things, one is add

Re: [mono-android] using a checkbox in a listview

2012-03-28 Thread Jonathan Pryor
On Mar 27, 2012, at 5:47 PM, mlwright wrote: > I have the need to use a checkbox in a listview but what I have found is that > once you do that you no longer get the ListView_IntemClick event. I'm not sure what this means. Could you provide some code or clarify? By any chance, would the CheckBox.

Re: [mono-android] using a checkbox in a listview

2012-03-28 Thread mlwright
I don't need the layout, I need the code to determine which one was clicked and identify the value of the row. What I'm needing is a checkbox on each row for deleteing. the user will check the rows they want to delete then click a button outside the listview which will then delete the rows selected

Re: [mono-android] using a checkbox in a listview

2012-03-28 Thread Stuart Lodge
Not quite a checkbox in a listbox - and not multi-selection - but the favorite buttons in the Conference example apps behave a bit like checkboxes and those apps still allow item selection - see: - https://github.com/xamarin/mobile-samples/blob/master/MWC/MWC.Droid/Resources/Layout/SessionListItem

[mono-android] using a checkbox in a listview

2012-03-27 Thread mlwright
I have the need to use a checkbox in a listview but what I have found is that once you do that you no longer get the ListView_IntemClick event. can someone point me to an example using a checkbox in a listview that can also handle multiple selections. and how to identify which records were selected