cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-8814) Deprecate onScrollChanged message in CordovaWebView
Date Wed, 08 Apr 2015 01:17:12 GMT

     [ https://issues.apache.org/jira/browse/CB-8814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Grieve resolved CB-8814.
-------------------------------
    Resolution: Fixed

Fixed in 4.0.0-dev

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message