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

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

Kai Schlamp created CB-9621:
-------------------------------

             Summary: onCreate and onRestart in Android CordovaPlugin
                 Key: CB-9621
                 URL: https://issues.apache.org/jira/browse/CB-9621
             Project: Apache Cordova
          Issue Type: Improvement
    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