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

How I can disable highlight item in ListView?

$
0
0

I could not disable highlight item. I tried to use this code (I took it from forum):

listView.ItemTapped += (object sender, ItemTappedEventArgs e) =>
            {
                if (e.Item == null) return;
                ((ListView)sender).SelectedItem = null; // de-select the row
            };

But if I click in the item then I can see blue highlight that will disabled after some time.

Viewing all articles
Browse latest Browse all 75885

Trending Articles



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