I have a ListView
containing several different ViewCell
s 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?