GitHub Issue | n/a |
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-04-17T21:29:24.000+0000 |
Affected Version/s | Release 3.1.1, Release 3.1.2, Release 3.1.3 |
Fix Version/s | 2014 Sprint 08, 2014 Sprint 08 SDK, Release 3.3.0 |
Components | Android |
Labels | listview, module_listview, qe-testadded, scrollToItem, supportTeam, triage |
Reporter | Marco Cota |
Assignee | Vishal Duggal |
Created | 2013-12-16T14:24:45.000+0000 |
Updated | 2014-04-22T21:23:30.000+0000 |
Request
In the Android listView allow user to disable animation on the scrollToItem method or set selection to a specific Section and row.
Current Behavior
The listView element is able to disable animation on scrollToItem and set selection only on iOS.
Sample Code
$.listView.scrollToItem(10, 1, {
animated: false
});
also, controlling the speed of the animation is a nice, or making it adaptive to the distance it needs to pass when it scrolls from row A to row B... slower animation when we need to move 5, 10, 20 rows, and much faster when we need to move 200,300 rows..
Test Case
Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/5620