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.
Unfortunately, activation email could not send to your email. Please try again.

Capture event when SwipeTemplate is closed after tap

Thread ID:

Created:

Updated:

Platform:

Replies:

132103 Aug 14,2017 11:42 AM Sep 13,2017 07:26 AM Xamarin.Forms 5
loading
Tags: SfListView
Alex
Asked On August 14, 2017 11:42 AM

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 10:00 AM

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. 
 
Regards, 
Dinesh Babu Yadav 


Alex
Replied On August 15, 2017 11:01 AM

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 04:54 AM

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. 
 
Regards, 
Dinesh Babu Yadav 
 


Alex
Replied On September 12, 2017 12:05 PM

Hello!

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


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

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. 
 
Regards, 
Dinesh Babu Yadav 


CONFIRMATION

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.

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.

;