ProgressDialog.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.
Overloads
Show(Context, ICharSequence, ICharSequence)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.App.ProgressDialog
Parameters
- context
- Context
the parent context
- title
- ICharSequence
the title text for the dialog's window
- message
- ICharSequence
the text to be displayed in the dialog
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, String, String)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message);
static member Show : Android.Content.Context * string * string -> Android.App.ProgressDialog
Parameters
- context
- Context
the parent context
- title
- String
the title text for the dialog's window
- message
- String
the text to be displayed in the dialog
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, ICharSequence, ICharSequence, Boolean)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message, bool indeterminate);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
the parent context
- title
- ICharSequence
the title text for the dialog's window
- message
- ICharSequence
the text to be displayed in the dialog
- indeterminate
- Boolean
true if the dialog should be #setIndeterminate(boolean)
indeterminate, false otherwise
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, String, String, Boolean)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message, bool indeterminate);
static member Show : Android.Content.Context * string * string * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
the parent context
- title
- String
the title text for the dialog's window
- message
- String
the text to be displayed in the dialog
- indeterminate
- Boolean
true if the dialog should be #setIndeterminate(boolean)
indeterminate, false otherwise
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message, bool indeterminate, bool cancelable);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
the parent context
- title
- ICharSequence
the title text for the dialog's window
- message
- ICharSequence
the text to be displayed in the dialog
- indeterminate
- Boolean
true if the dialog should be #setIndeterminate(boolean)
indeterminate, false otherwise
- cancelable
- Boolean
true if the dialog is #setCancelable(boolean) cancelable,
false otherwise
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, String, String, Boolean, Boolean)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message, bool indeterminate, bool cancelable);
static member Show : Android.Content.Context * string * string * bool * bool -> Android.App.ProgressDialog
Parameters
- context
- Context
the parent context
- title
- String
the title text for the dialog's window
- message
- String
the text to be displayed in the dialog
- indeterminate
- Boolean
true if the dialog should be #setIndeterminate(boolean)
indeterminate, false otherwise
- cancelable
- Boolean
true if the dialog is #setCancelable(boolean) cancelable,
false otherwise
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener)
Creates and shows a ProgressDialog.
[Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZLandroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;", "")]
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, Java.Lang.ICharSequence? title, Java.Lang.ICharSequence? message, bool indeterminate, bool cancelable, Android.Content.IDialogInterfaceOnCancelListener? cancelListener);
[<Android.Runtime.Register("show", "(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZLandroid/content/DialogInterface$OnCancelListener;)Landroid/app/ProgressDialog;", "")>]
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool * bool * Android.Content.IDialogInterfaceOnCancelListener -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- ICharSequence
CharSequence: the title text for the dialog's window
- message
- ICharSequence
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
- cancelable
- Boolean
boolean: true if the dialog is cancelable, false otherwise
- cancelListener
- IDialogInterfaceOnCancelListener
DialogInterface.OnCancelListener: the listener to be invoked when the dialog is canceled
Returns
the ProgressDialog
- Attributes
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, EventHandler)
Creates and shows a progress dialog with a managed cancellation handler.
public static Android.App.ProgressDialog? Show(Android.Content.Context context, Java.Lang.ICharSequence title, Java.Lang.ICharSequence message, bool indeterminate, bool cancelable, EventHandler cancelHandler);
static member Show : Android.Content.Context * Java.Lang.ICharSequence * Java.Lang.ICharSequence * bool * bool * EventHandler -> Android.App.ProgressDialog
Parameters
- context
- Context
The parent context forwarded to the progress-dialog constructor.
- title
- ICharSequence
The text assigned to the dialog's title.
- message
- ICharSequence
The text displayed as the progress message.
- indeterminate
- Boolean
Whether the dialog is configured for indeterminate progress.
- cancelable
- Boolean
Whether the dialog is marked as cancelable.
- cancelHandler
- EventHandler
The managed handler to wrap as the cancellation listener.
Returns
The dialog returned by the listener-based Show overload.
Remarks
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.
Applies to
Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener)
Creates and shows a ProgressDialog.
public static Android.App.ProgressDialog? Show(Android.Content.Context? context, string? title, string? message, bool indeterminate, bool cancelable, Android.Content.IDialogInterfaceOnCancelListener? cancelListener);
static member Show : Android.Content.Context * string * string * bool * bool * Android.Content.IDialogInterfaceOnCancelListener -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- title
- String
CharSequence: the title text for the dialog's window
- message
- String
CharSequence: the text to be displayed in the dialog
- indeterminate
- Boolean
boolean: true if the dialog should be indeterminate, false otherwise
- cancelable
- Boolean
boolean: true if the dialog is cancelable, false otherwise
- cancelListener
- IDialogInterfaceOnCancelListener
DialogInterface.OnCancelListener: the listener to be invoked when the dialog is canceled
Returns
the ProgressDialog
Remarks
Creates and shows a ProgressDialog.
Android reference for android.app.ProgressDialog.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.
Applies to
Show(Context, String, String, Boolean, Boolean, EventHandler)
Creates and shows a progress dialog from strings and a managed cancellation handler.
public static Android.App.ProgressDialog? Show(Android.Content.Context context, string title, string message, bool indeterminate, bool cancelable, EventHandler cancelHandler);
static member Show : Android.Content.Context * string * string * bool * bool * EventHandler -> Android.App.ProgressDialog
Parameters
- context
- Context
The parent context forwarded to the progress-dialog constructor.
- title
- String
The string assigned to the dialog's title.
- message
- String
The string displayed as the progress message.
- indeterminate
- Boolean
Whether the dialog is configured for indeterminate progress.
- cancelable
- Boolean
Whether the dialog is marked as cancelable.
- cancelHandler
- EventHandler
The managed handler to wrap as the cancellation listener.
Returns
The dialog returned by the listener-based Show overload.
Remarks
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.