AlertDialog.Builder.Show 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.
Creates an AlertDialog with the arguments supplied to this
builder and immediately displays the dialog.
[Android.Runtime.Register("show", "()Landroid/app/AlertDialog;", "GetShowHandler")]
public virtual Android.App.AlertDialog Show();
[<Android.Runtime.Register("show", "()Landroid/app/AlertDialog;", "GetShowHandler")>]
abstract member Show : unit -> Android.App.AlertDialog
override this.Show : unit -> Android.App.AlertDialog
Returns
- Attributes
Remarks
Creates an AlertDialog with the arguments supplied to this builder and immediately displays the dialog. Calling this method is functionally identical to:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-03 UTC.
Android reference for android.app.AlertDialog.Builder.show.
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.