DragAndDropSort
DragAndDropSort copied to clipboard
Listview jagging on fast scroll
I have successfully implemented this drag and drop in Xamarin.Forms listview but when I scroll quite fast (than normal slow scroll), it is jaggin/ startling. But if I use the listiew normally without this drag & drop (after removing it), the listview scrolls fine on fast scroll like I did previously. There seems to be clear problem with this drag & drop implementation I believe..
This occurs in all different android versions I tried
Can anyone assist?
Jaggin/ startling means.. in other words the whole listview shakes
By the way, my listview drag&drop activates/enables once page appears, no enable button
Hello,
I'm not sure if you're still in need, but I've had the same issues and it was bugging me since. I've found the fix though (atleast, it works for me)
Original code: anim.SetDuration(100); anim.Start(); return correctedPosition;
However, it never stops. Replace it with: anim.SetDuration(100); anim.Start(); anim.End(); return correctedPosition;
Enjoy
Oh really..! Thanks for posting the fix,.. Good work
Hi there guys, for those of you who experience issues with ListView with your swipe very fast while dragging which results in 2 items being on top of each other, Wilcoo1's fix also resolve that issue. Might be worth making a pull request.