There is a very good reason we implemented CordovaInterface and this is it. If someone wants to do what the article says and call it CordovaFragment, that's cool.
But seriously, this seems like a total edge case, since almost nobody understands fragments. If people say they do, they're lying. :P There, did my obligatory Android Fragments joke. On Jul 9, 2014 8:18 PM, "Ally Ogilvie" <aogil...@wizcorp.jp> wrote: > Before you do that. Check what Anthony Rumsey recently wrote: (May 29th) > > > https://github.com/Adobe-Marketing-Cloud/app-sample-android-phonegap/wiki/Embed-Webview-in-Android-Fragment > > > On Thu, Jul 10, 2014 at 3:56 AM, Marcel Kinard <cmarc...@gmail.com> wrote: > > > That matches what I was thinking. I’ll create a Jira issue to capture > > this. I don’t think I’ll have time to pursue it in the short term, but > this > > definitely answers my original question. Thanks all! > > > > On Jul 9, 2014, at 1:24 PM, Andrew Grieve <agri...@chromium.org> wrote: > > > > > If anyone's interested in pursuing this, I don't think it would > > necessarily > > > be a breaking change. E.g. we could provide both CordovaActivity and > > > CordovaFragment and apps can use whichever they prefer. If that goes > > well, > > > we could have CordovaActivity use a CordovaFragment, all without > breaking > > > the API of CordovaActivity. > > > > > > > -- > <http://www.wizcorp.jp/>Ally Ogilvie > Lead Developer - MobDev. | Wizcorp Inc. <http://www.wizcorp.jp/> > ------------------------------ > TECH . GAMING . OPEN-SOURCE WIZARDS+ 81 (0)3-4550-1448 | Website > <http://www.wizcorp.jp/> | Twitter <https://twitter.com/Wizcorp> | > Facebook > <http://www.facebook.com/Wizcorp> | LinkedIn > <http://www.linkedin.com/company/wizcorp> >