[mono-android] ListView.SelectedItem not set ?
shebu
sylvain.hebuterne at gmail.com
Thu Nov 3 11:24:55 EDT 2011
thank's Tomasz, but this does not work for me : my ListView contains complex
items and I want to retrieve the object, not the control that shows it.
By the way, I can get it using a piece of code like
// method listviewItemClick...
// ... my ListView is lv
Object myComplexItem = lv.Adapter.GetItem(e.position);
//
but I don't like this way of doing it: to me, it's far from an good
approach, and i'm not sure e.position will well manage filters or sorts, if
any exists in listview.
I gonna work on this, and try to find a better solution. Thank you for your
help !
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/ListView-SelectedItem-not-set-tp4960909p4961373.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list