[ 
https://issues.apache.org/jira/browse/CB-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304035#comment-14304035
 ] 

ASF subversion and git services commented on CB-8382:
-----------------------------------------------------

Commit 83120a5beacc0b47160cda0564456cc837db0488 in cordova-android's branch 
refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=83120a5 ]

CB-8382 Make CordovaActivity not implement CordovaInterface

Instead, use a CordovaInterfaceImpl class. This also makes it easier
for apps to implement the interface without extending CordovaActivity.


> Make CordovaActivity not implement CordovaInterface
> ---------------------------------------------------
>
>                 Key: CB-8382
>                 URL: https://issues.apache.org/jira/browse/CB-8382
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> CordovaWebView.java used to enforce that they CordovaActivity could be cast 
> to a CordovaInterface, but this has been fixed with the move to a two-step 
> initialization (separate call to init()). 
> With this being fixed, it would clean up the code a bit by shrinking the API 
> surface of CordovaActivity. Further, it would ensure that the 
> activity==interface assumption does not return.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to