[
https://issues.apache.org/jira/browse/CB-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484492#comment-14484492
]
ASF subversion and git services commented on CB-8814:
-----------------------------------------------------
Commit 581252febc2ca8c2ecbe7077047a34aae0ab25b5 in cordova-android's branch
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=581252f ]
CB-8814 Deprecate ScrollEvent
> Deprecate onScrollChanged message in CordovaWebView
> ---------------------------------------------------
>
> Key: CB-8814
> URL: https://issues.apache.org/jira/browse/CB-8814
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> Two reasons:
> 1. It's causing and object creation for each pixel scrolled, even when there
> are no listeners
> 2. It's an API that isn't necessary, since you can use:
> {code}
> view.getViewTreeObserver().addOnScrollChangedListener(...)
> {code}
> instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]