Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

ListView ItemSource and SelectedItem

$
0
0

I have a xaml based app where a listview gets populated via ItemsSource and the SelectedItem is binded with an initial value. When the listview shows up the first time, the SelectedItem doesn't get highlighted.

I am guessing it's a timing bug where you can't set SelectedItem when the items are not drawn yet.

Is this a bug ? any workaround ?

If you guys confirm it's a bug I will log in Bugzilla...


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>