[TIMOB-9061] Android: `ScrollableView`: `scroll` event should be renamed to `dragEnd`; proper `scroll` event needed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-12T23:50:47.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-12 API |
Components | Android |
Labels | api, module_scrollableview, qe-testadded, release-note |
Reporter | Russell Frank |
Assignee | Bill Dawson |
Created | 2012-05-03T08:26:14.000+0000 |
Updated | 2012-07-13T10:16:20.000+0000 |
Description
On Android, the
ScrollableView
scroll
event is actually fired when dragging stops; it should therefore be renamed to dragEnd
.
Then, a proper scroll
event, fired continuously as the view is scrolled, is needed.
These changes have been addressed in my pull request: [titanium_mobile/#2101](https://github.com/appcelerator/titanium_mobile/pull/2101#issuecomment-5480208)
Test case from Russ's PR
With a little addition to make it viable as an app.js.Run that and watch logcat, make sure the values shown in logcat are logical.
Pull merged
SDK: 2.1.0.v20120622174154 Android: 2.3.4 Droid3 OS: Lion 10.7.3 Verified that: 1. scroll is fired continuously as you scroll in the window of the app 2. scrollend and dragend events are fired as the user ends scrolling and dragging on the scrollable window.
Reopening to update labels.