We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Capture event when SwipeTemplate is closed after tap

Thread ID:





132103 Aug 14,2017 03:42 PM UTC Sep 13,2017 11:26 AM UTC Xamarin.Forms 5
Tags: SfListView
Asked On August 14, 2017 03:42 PM UTC

I can capture events like SwipeStarted and SwipeEnded.
But I can't handle with tap event when row is in state with SwipeTemplate shown and user just clicks on row.
In this case control comes back into state with closed SwipeTemplate and SwipeEnded is not fired.

Once again just to be clear:
When user starts swipe and finished it then SwipeTemplate is shown (doesn't matter left or right swipe).
But at this moment it is possible to just tap row and SwipeTemplate will be closed.
Is there any way to disable this tapping or to capture this tapping event? 

Dinesh Babu Yadav [Syncfusion]
Replied On August 15, 2017 02:00 PM UTC

Hi Alexej, 
Thank you for using Syncfusion Products. 
We have analyzed the reported issue “ItemTapped event is not raised when swipe template is reset by tap gesture action” at our end. And we would like to let you know that in SfListView, when item is tapped after swipe view is layout for the ListViewItem, it gets reset as expected with no events are triggered and this is the actual behavior. So, could you please share the actual requirement and the application scenario which would help us to analyze the requirement better and update you an appropriate solution. 
Please let us know if you require further assistance. 
Dinesh Babu Yadav 

Replied On August 15, 2017 03:01 PM UTC

Here is scenario:

When Left swipe is started I want to change default row template (hide button)

So, in my ViewModel model I have a field. And in OnSwipeStarted event I am changing some ViewModel field that is binded to IsVisible property of button:

 IsVisible="{Binding ButtonVisible}"

When Swipe is ended I am setting ButtonVisible to true.

So everything is worked except ending swipe with tap (in this case ButtonVisible stays false and button is hidden)

Dinesh Babu Yadav [Syncfusion]
Replied On August 16, 2017 08:54 AM UTC

Hi Alexej, 
Thanks for the update. 
We have considered the reported requirement “Need to expose an event when swiped item is reset in SfListView” as SfListView’ s enhancement request. We are implementing the reported enhancement at our end and it will be available in our upcoming 2017 Volume 3 SP 1 release which is scheduled to be rolled out by end of this month. We will let you know once this enhancement has been included in release. 
Please let us know if you require further assistance. 
Dinesh Babu Yadav 

Replied On September 12, 2017 04:05 PM UTC


Any update? I was unable to find reset event as included in last release.

Dinesh Babu Yadav [Syncfusion]
Replied On September 13, 2017 11:26 AM UTC

Hi Alexej, 
Apologies for the delay. 
Due to complexity in the reported feature enhancement, we could not able to complete and include in our 2017 Volume 3 SP 1 release. However, we will assure you that it will be available in our upcoming 2017 Volume 4 main release. We will let you know once this enhancement has been included in release and will appreciate your patience until then. 
Dinesh Babu Yadav 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon