[
https://issues.apache.org/jira/browse/CB-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486540#comment-14486540
]
Andrew Grieve commented on CB-8814:
-----------------------------------
Note: Since we're doing a major version bump, filed a new issue to delete the
event entirely.
> 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]