cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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: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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message