[mono-android] Listview - Select (Highlight) a row programmatically
hugoterelle
hugoterelle at gmail.com
Sat Oct 6 05:48:27 UTC 2012
Hi,
I have the same problem and the only solution I found is
ListView list = ...
list.SetSelection(5);
list.PerformItemClick(list.Parent as View, 5, 5);
But if there is a ItemClick handler on that list, it will be fired ...
Well, is there someone who have a better solution?
Hugo
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Listview-Select-Highlight-a-row-programmatically-tp5712116p5712126.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list