Android Guides | Samples

Android.App.Dialog.OnSaveInstanceState Method

Saves the state of the dialog into a bundle.

Syntax

[Android.Runtime.Register("onSaveInstanceState", "()Landroid/os/Bundle;", "GetOnSaveInstanceStateHandler")]
public virtual Bundle OnSaveInstanceState ()

Remarks

Saves the state of the dialog into a bundle. The default implementation saves the state of its view hierarchy, so you'll likely want to call through to super if you override this to save additional state.

[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