Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8814

Deprecate onScrollChanged message in CordovaWebView

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-android
    • None

    Description

      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:

      view.getViewTreeObserver().addOnScrollChangedListener(...)
      

      instead.

      Attachments

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              agrieve Andrew Grieve
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: