Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable cross-slide selection for a listview

I'm designing an app that has a vertically panning one-dimensional list in the centre and the user is able to flip between lists horizontally due to a flipview.

A vertically panning one-dimensional list

When a user drags horizontally within the listview, it selects that row because of cross-slide. This isn't the behaviour I want. Preferably I would want the flipview to start panning left and right. I think it's something to do with rails because when the user pans diagonally, they can pan the flipview.

Cross-slide even happens when selectionmode is set to None

How do I disable cross-slide, or how do I ensure that when a user pans left and right that the flipview pans and not the listview items?

like image 624
soniiic Avatar asked Aug 02 '12 09:08

soniiic


1 Answers

IsSwipeEnabled="False" on the ListView might do the trick. You might also edit the ListView.ItemContainerStyle/ListViewItem template to disable some visual state feedback transitions.

like image 60
Filip Skakun Avatar answered Oct 14 '22 18:10

Filip Skakun