Xamarin.Forms gestures plugin for view controls (targeted at Android & iOS).
You can add gestures for any Xamarin.Forms view control. For that you need to initialize "Content" property in ViewGestures in your control. After that you can add events for required gestures. Supported gestures:
- TouchBegan;
- TouchEnded;
- Tap;
- SwipeLeft;
- SwipeRight;
- SwipeUp;
- SwipeDown;
- Drag.
Furthermore, there is capability adding animation on view control. Supported animation effects:
- scaling;
- flashing.
Also you can add own animation effect to events: TouchBegan and TouchEnded.
It's required that you initilize renderers for each platform separately.
iOS:
Xamarin.Forms.Forms.Init ();
ViewGesturesRenderer.Init();
Android:
Xamarin.Forms.Forms.Init (this, bundle);
ViewGesturesRenderer.Init();