2

I am working on android application using xamarin forms. We have a list that is displaying items. Client want to delete the item on swipe, "left to right" vice versa . I have a link that is working for xamarin android that i am share with you Click here . I need same thing for Xamarin form. If anybody have any idea please share with me. Thank you.

Nichs
  • 123
  • 1
  • 15
Gurpreet Singh
  • 165
  • 4
  • 18

1 Answers1

1

Currently the Xamarin Forms support only a specific set of gestures. Those are Pan, Tap and Pich. It does not support Swipe.

You can go and create these events in your native projects and expose via a Renderer.

Or you can use the MR.Gestures which has all the events you need.

The XLabs project has gestures, which you can use. More discussion about it can be found in this forum thread.

This a good tutorial - Gesture Recognizers with Xamarin.Forms you can look into if you are trying to build your own gesture recognizes.

There is 2 good solutions provided to this SO Question - Xamarin Forms Swipe Left/Swipe Right Gestures.

Community
  • 1
  • 1
Rohit Vipin Mathews
  • 11,629
  • 15
  • 57
  • 112