how to implement card viewer with swipe event in xamarin.forms - xamarin

I want to create a card-viewer in xamarin.forms which will be bind with a list of custom class.It needs to support swipe event.After each swipe next item of list will be binded in a card view.
I am unable to track the swipe event.There is a ready-made solution of this by using MGesture but I don't want to do this I want to create my own control.
If anybody has worked on cardView control and swipe gesture please help me?

Related

Clickable toolbar in Xamarin

I am newest in Xamarin and have question for developers with more experiences.
I want to hide custom picker when user clicks anywhere any view in app. This working with view where is custom picker opened, but when I click on toolbar he remains opened. This problem is existing only on iOS, Android work as expected.
Could i make whole toolbar to be clickable and how?
Thanks in advance
In the Picker Toolbar you can set UIBarButtonItem to add Done button. Then you can add a Click Event for the Done button and write following code in it.
YourPicker.RemoveFromSuperview();
YourPickerView.RemoveFromSuperview();
textField.ResignFirstResponder();

Xamarin pop up with default close button in Xamarin form pcl

Can anyone suggest a best method to show pop up with close button by default in Xamarin forms with animations. To be more specific, if we are clicking on a card, it should come from the location of tap or click.
I have used xlabs for the same. Is there any other packages that I can use?
Could you share a sample code if possible?

Xamarin forms slider disable tap/click

I want to make a iphone like slide to unlock slider within xamarin forms.
So I want to disable the slider to be clicked on 100%.
I tried to add a tap gesture recognizer but unfortunatly this doesn't work/
Anyone with ideas?
Xamarin Forms can't work with anything more complicated than tap. You have to implement a custom renderer. There is an example which does what you want:
https://github.com/tkowalczyk/SimpleCustomGestureFrame

How to check if tapped region falls inside a PopUp Control

I am using tap event listener from wp toolkit. In my app I show a pop up screen. I have defined the gesturelister to work on the Grid. In capturing the Tap gesture event, I get the screen coordinates (i.e X and Y) where it happened.
Now i want to know if the Tap happened inside the PopUp control or outside it. How can i achieve this on wp8. I have tried many solutions but none seems to work. Please help on this.
Is the Grid under or over the PopUp Control?
If yes, the solution is pretty simple.
When the click is on the Popup the Grid will not receive it.
When the click is not on the Popup the Grid will receive it.

WP7 slider drag end event

I'm developing a WP7 music player. I use the slider to track the playing progress.
I want to allow user to drag the slider to seek a certain posion within the track, but find no drag end event?
The slider_ValueChanged event doesnot satisfy my need.
I follow the instruction here WPF: Slider with an event that triggers after a user drags but it doesnot work on WP7
Please help
I follow the instruction here using Manipulation Completed Event, and it works

Resources