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

ViewCell's context actions activating without a selected cell.

$
0
0

I have a ListView containing several different ViewCells with some context actions. My issue is, at least on Android, the fact I can activate a ViewCell's context action without properly selecting a ViewCell, just long-pressing on a given cell. This means I can execute code that expects a cell to be selected without actually selecting anything.

Is there anything I can do in order to avoid this aside from the fact I could add some checks before executing my code?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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