incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryce Curtis <>
Subject Re: [Android] CordovaWebView - loadUrlIntoView
Date Mon, 16 Apr 2012 22:49:41 GMT
There are several properties that can be set on DroidGap that deal
with UI - loading dialog, splash screen and background color.  They
are used to give the user an indication that something is going on
before the app is ready to be displayed.

I think they are needed, but should be moved out of the webview into
DroidGap (or other activity that the user can extend).  The webview
can broadcast events that the activity can register for to management
these things.

I know that other platforms have splash screen, so would it work to
abstract this?

On Mon, Apr 16, 2012 at 4:24 PM, Filip Maj <> wrote:
> +1 ripping it out, sounds like a great candidate for a plugin.
> None of the other native platform implementations have this sort of stuff
> "built-in" (loading dialog UI niceties) so I am not super keen on keeping
> it. Esp. if it's done in a way that makes Android antsy.
> That being said, we don't wanna just rip it out out of nowhere. Probably
> need to deprecate somehow [1], ya? I.e. Deprecate til 2.0 and then axe it!
> [1]
> On 4/16/12 11:29 AM, "Joe Bowser" <> wrote:
>>After looking at CordovaWebView code this morning, I have some concerns
>>about the method that we're currently using in DroidGap to load the URL,
>>namely this spinner that was added into the method.  I know that this was
>>added last year, but I'm thinking that we should actually abstract out the
>>indeterminate progress indicator.  In addition to that, this code is going
>>to break on future versions of Android, because we're calling methods on
>>WebView that should be called on the UIThread.
>>So, what's the story with this spinner, does it have to be there, or can
>>rip it out? Should I create a ticket to do this?

View raw message