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. Image for the cookie policy date

How to fire the ItemDragging (SFListView) event in MVVM pattern?

Hi there,

I want to use the ItemDragging event (inside SFListView) to save the re-ordered list.

But don't know how to fire this event wile using the MVVM pattern.

Does some one has an example?

Thanks,

Knett

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team November 26, 2019 01:10 PM UTC

Hi Knett, 
 
Thank you for contacting Syncfusion support. 
 
We have prepared sample based on your requirement of “Using ItemDragging event in ListView re-ordering in MVVM pattern” Xamarin.Forms. Please find the sample from the following link,

 

In the sample, we have hooked the ListView ItemDragging event in the behavior and handled indicator as well.

To know more about the ItemDragging, you can refer our documentation by the following link. 
 

We hope this helps. Please let us know, if you would require any further assistance.

Regards,
Subburaj Pandian V  


Loader.
Live Chat Icon For mobile
Up arrow icon