You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/09/12 02:33:45 UTC

[jira] [Updated] (CB-9621) onCreate and onRestart in Android CordovaPlugin

     [ https://issues.apache.org/jira/browse/CB-9621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-9621:
---------------------------------
    Component/s: Android

> onCreate and onRestart in Android CordovaPlugin
> -----------------------------------------------
>
>                 Key: CB-9621
>                 URL: https://issues.apache.org/jira/browse/CB-9621
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 5.1.1
>            Reporter: Kai Schlamp
>            Priority: Minor
>
> Wouldn't it make sense to have "onCreate" and "onRestart" also in CordovaPlugin? We could then interact on the full lifecyle of an activity in our plugin class without overwriting the MainActivity itself (see http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle). We already have the other methods "onStart", "onResume", "onPause", "onStop", "onDestroy".



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org