Dialog.OnSaveInstanceState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves the state of the dialog into a bundle.
[Android.Runtime.Register("onSaveInstanceState", "()Landroid/os/Bundle;", "GetOnSaveInstanceStateHandler")]
public virtual Android.OS.Bundle OnSaveInstanceState ();
[<Android.Runtime.Register("onSaveInstanceState", "()Landroid/os/Bundle;", "GetOnSaveInstanceStateHandler")>]
abstract member OnSaveInstanceState : unit -> Android.OS.Bundle
override this.OnSaveInstanceState : unit -> Android.OS.Bundle
Returns
A bundle with the state of the dialog.
- Attributes
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.
Java documentation for android.app.Dialog.onSaveInstanceState()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.