Skip to content

jonathanantoine/XamarinFormSwipeActionWrapper

Repository files navigation

This sample shows you how to add swipe actions on any view on iOS and Android using Xamarin Forms.

I needed to add this feature to one of my app Podcasts Tracker and I didn't manage to find a quick and easy set-up so I coded it myself :)

WORKING DEMO](https://www.youtube.com/watch?v=/xEOwv6UjiOI)

Better quality on Youtube : https://youtu.be/xEOwv6UjiOI

Android configuration

You need to register a specific renderer on Android to let it works nicely on Android.

[assembly: ExportRenderer(typeof(SwipeWrapper), typeof(SwipeWrapperRenderer))]

In the demo project, this is done in the AssemblyInfo.cs file of the Android project.

iOS configuration

Nothing special has to be done but be aware that this specific ios configuration will be enabled : PanGestureRecognizerShouldRecognizeSimultaneously.

About

Wrap a view to add swipe to action on it using Xamarin Forms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages