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

ListViews crash on Android if two items are long selected after each other

$
0
0

As the title says, this only happens on Android.
Take any ListView, add items, and long click an item. Release, and long tap another item, the application crashes.

The exception it throws is a NullReferenceException, in Xamarin.Forms.Platform.Android.CellAdapter, coming through ListViewAdapter, and happens in the OnItemLongClick, when it tries to set the contextView.

Are there any workarounds that do not require a custom renderer, etc?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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