Horizontal swipe handling over a ListView on Android (Forms)

Stan_OkunevicStan_Okunevic GBUniversity ✭✭

Hey folks,

I have a Xamarin.Forms view which includes a ListView and a few other elements. I've added a custom renderer for the ContentView my view inherits and added gesture handling there. While it works fine on iOS, on Android it won't - I'm assuming the most effective way of achieving horizontal swipe detection over a list on Android is added the gesture detector to each individual cell renderer.

Is that correct?

If so, IOnTouchListener used with a CellRenderer needs you to implement public IntPtr Handle - where/should should I set the value of that? I'm not entirely sure what is it that it does.

Sign In or Register to comment.