Skip to content

ScienceSoft-Inc/ViewGestures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScnViewGestures

Xamarin.Forms gestures plugin for view controls (targeted at Android & iOS).

Description

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.

How to use this plugin in Xamarin.Forms app

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();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published