cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorin Beer <lorin.beer....@gmail.com>
Subject Re: request focus
Date Fri, 22 Mar 2013 18:21:08 GMT
I've messed around with programmatic view manipulation in native apps, on
droid and iOS primarily. There's no reason that I'm aware of that these
methods need to be private, and making sure that plugins/native code can
change the view layout is important for overall architecture flexibility.
It may not be the most common use case, but it's certainly an important one.

+1 from me


On Fri, Mar 22, 2013 at 7:38 AM, Andrew Grieve <agrieve@chromium.org> wrote:

> Sounds good to me!
>
>
> On Thu, Mar 21, 2013 at 9:09 PM, <denis.vergnes@orange.com> wrote:
>
> > Hi all,
> >
> >
> >
> > We have an android application mixing native views and a CordovaWebView.
> > The problem is the CordovaWebView request the focus when launching the
> > application even in our case it should not be the view selected by
> > default. Unfortunately there is no easy way to override this behavior
> > because inside CordovaWebView constructors a call to a private method
> > setup is done where the focus is requested by calling
> > requestFocusFromTouch which is also final. I would like to submit a pull
> > request for at least change the visibility of setup to protected in
> > order to override this behavior. How does it sound? Did I miss something
> > about why setup is private?
> >
> >
> >
> > BR
> >
> >
> >
> > Denis
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message