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

loadUrlIntoView on DroidGap needs refactoring

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      For some reason, this shows an error saying that it must be run on the UI thread
      webViewClient.onReceivedError(me.appView, -6, "The connection to the server was unsuccessful.", url);

      This leads to ugly code which has us run something on the UI thread, then spawn another thread, and on that thread, run another runnable on the first thread. I think that this will break, and this needs to be refactored. However, it's currently not breaking any functionality.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bowserj Joey Robert Bowser
            bowserj Joey Robert Bowser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment