Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Disabling Scrolling in Listview

$
0
0

I'm making for the improvement of item swapping for the list view. You see, when I long-pressed that list item and using the scrollToItem(sectionIndex, itemIndex) to mangae swapping while scrolling whenever I go up or down. The problem is that the scrollToItem has a delay to start until after I scrolled for 1 or 2 seconds via touch-move event especially.

I decided to use a method to temporarily stop scrolling so that the scrolling direction will be according on what item from list view is dragging. There is the property or method called canScroll but will only work on iPhone. Do you know how to fix it or there is an alternate reference for the Android?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>