Add nuget package to your Xamarin.Forms PCL project and to your platform-specific projects.
| Platform |
|---|
| Xamarin.iOS |
| Xamarin.Android |
| Windows 10 UWP |
This plugin provides opportunity to create swipeable CardsView in Xamarin.Forms applications like Tinder app has. Just add nuget package into your PCL project
You are able to setup CarouselView control, that is based on CardsView
The sample you can find here https://github.com/AndreiMisiukevich/CardView/tree/master/PanCardViewSample
-> Create CardsView and setup it
var cardsView = new CardsView
{
ItemTemplate = new DataTemplate(() => new ContentView()) //your template
};
cardsView.SetBinding(CardsView.ItemsProperty, nameof(PanCardSampleViewModel.Items));
cardsView.SetBinding(CardsView.CurrentIndexProperty, nameof(PanCardSampleViewModel.CurrentIndex));-> Optionaly you can create ViewModel... or not... as you wish
-> Indicators bar (For CarouselView, perhaps). It's easy to add indicators -> Just add IndicatorsControl into your carouselView as a child view.
carouselView.Children.Add(new IndicatorsControl());-> If you want to customize indicators, you need set SelectedStyle and/or UnselectedStyle, or you are able to extend this class and override several methods. Also you can customize position of indicators (You need to set Rotation / AbsoluteLayout Flags and Bounds etc.) Check source code for more info, or just ask me =)
The MIT License (MIT) see License file
Feel free to create issues and PRs 😃

