Android.App.Activity.OnCreate Method
Same as Activity.OnCreate(Android.OS.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 (Android.OS.Bundle savedInstanceState, Android.OS.PersistableBundle persistentState)

See Also

Activity.OnCreate(Android.OS.Bundle)
Activity.OnStart
Activity.OnSaveInstanceState(Android.OS.Bundle)
Activity.OnRestoreInstanceState(Android.OS.Bundle)
Activity.OnPostCreate(Android.OS.Bundle)

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(Android.OS.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(Android.OS.Bundle). Note: Otherwise it is null.

Remarks

Same as Activity.OnCreate(Android.OS.Bundle) but called for those activities created with the attribute NoType:android/R$attr;Href=../../../reference/android/R.attr.html#persistableMode set to persistAcrossReboots.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1