Share via


ProgressDialog.Show Method

Definition

Overloads

Show(Context, ICharSequence, ICharSequence)

Creates and shows a ProgressDialog.

Show(Context, String, String)

Creates and shows a ProgressDialog.

Show(Context, ICharSequence, ICharSequence, Boolean)

Creates and shows a ProgressDialog.

Show(Context, String, String, Boolean)

Creates and shows a ProgressDialog.

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean)

Creates and shows a ProgressDialog.

Show(Context, String, String, Boolean, Boolean)

Creates and shows a ProgressDialog.

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, IDialogInterfaceOnCancelListener)

Creates and shows a ProgressDialog.

Show(Context, ICharSequence, ICharSequence, Boolean, Boolean, EventHandler)
Show(Context, String, String, Boolean, Boolean, IDialogInterfaceOnCancelListener)

Creates and shows a ProgressDialog.

Show(Context, String, String, Boolean, Boolean, EventHandler)

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.

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence).

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.

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence).

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.

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, boolean).

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.

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, boolean).

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.

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, boolean, boolean).

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.

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, boolean, boolean).

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

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
cancelable
Boolean

Returns

the ProgressDialog

Attributes

Remarks

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence).

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)

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
message
ICharSequence
indeterminate
Boolean
cancelable
Boolean
cancelHandler
EventHandler

Returns

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

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
cancelable
Boolean

Returns

the ProgressDialog

Remarks

Java documentation for android.app.ProgressDialog.show(android.content.Context, java.lang.CharSequence, java.lang.CharSequence).

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)

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
title
String
message
String
indeterminate
Boolean
cancelable
Boolean
cancelHandler
EventHandler

Returns

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