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

Set time to hold an item on dragdrop?

Hi all,

currently a user has to tap around 1/2 second on an item to activate dragging via https://help.syncfusion.com/xamarin/sflistview/item-drag-and-drop . Is it possible to reduce this time it takes to before dragging is active? I want to decrease it to 0 seconds so that the item is dragable as soon as the user taps on an item.

Many thanks!

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team June 7, 2019 11:55 AM UTC

Hi Kai, 
  
Thank you for using Syncfusion products. 
  
We have checked the reported query and you can Drag the ListViewItem either by Holding or Taping the indicator view loaded at the right corner of the item. Here, DragIndicatorView is used to drag the item by tap so that we can customize the view based on your requirement. To know more about indicator, you can refer DragIndicatorView from below 
  
  
Meanwhile, we also suggest you to load entire Grid of ItemTemplate inside theDragIndicatorView to enable drag on tapping the anywhere inside ItemTemplate. We have attached the sample for your reference, please find the sample from below. 
  
  
We hope this helps. Please let us know if you need any further assistance. 
 
Regards,
Subburaj Pandian V 



KA Kai June 7, 2019 04:15 PM UTC

Works fine! Thanks a lot, Subburaj!


SP Subburaj Pandian Veluchamy Syncfusion Team June 10, 2019 07:18 AM UTC

Hi Kai, 
 
Thank you for the update. We are glad that the given solution meets your requirement. 
 
Please get in touch with us if you would require any further assistance. 
 
Regards,
Subburaj Pandian V 


Loader.
Live Chat Icon For mobile
Up arrow icon