Android.App.Activity.OnCreate Method
Same as Activity.OnCreate(Bundle) but called for those activities created with
the attribute NoType:android/R$attr;Href=../../../reference/android/R.attr.html#persistableMode set to
persistAcrossReboots.
Syntax
[Android.Runtime.Register("onCreate", "(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V", "GetOnCreate_Landroid_os_Bundle_Landroid_os_PersistableBundle_Handler")]
public virtual Void OnCreate (Bundle savedInstanceState, PersistableBundle persistentState)
public virtual Void OnCreate (Bundle savedInstanceState, PersistableBundle persistentState)
See Also
Parameters
- savedInstanceState
- if the activity is being re-initialized after previously being shut down then this Bundle contains the data it most recently supplied in Activity.OnSaveInstanceState(Bundle). Note: Otherwise it is null.
- persistentState
- if the activity is being re-initialized after previously being shut down or powered off then this Bundle contains the data it most recently supplied to outPersistentState in Activity.OnSaveInstanceState(Bundle). Note: Otherwise it is null.
Remarks
Same as Activity.OnCreate(Bundle) but called for those activities created with the attribute NoType:android/R$attr;Href=../../../reference/android/R.attr.html#persistableMode set to persistAcrossReboots.
Requirements
Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

