ProgressDialog Constructors
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
| Name | Description |
|---|---|
| ProgressDialog(Context) |
Creates a Progress dialog. |
| ProgressDialog(Context, Int32) |
Creates a Progress dialog. |
| ProgressDialog(IntPtr, JniHandleOwnership) |
Initializes a managed representation of an existing Java Native Interface object. |
ProgressDialog(Context)
Creates a Progress dialog.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ProgressDialog(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.App.ProgressDialog : Android.Content.Context -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- Attributes
Remarks
Creates a Progress dialog.
Android reference for android.app.ProgressDialog.ProgressDialog.
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
ProgressDialog(Context, Int32)
Creates a Progress dialog.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")]
public ProgressDialog(Android.Content.Context? context, int theme);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")>]
new Android.App.ProgressDialog : Android.Content.Context * int -> Android.App.ProgressDialog
Parameters
- context
- Context
Context: the parent context
- theme
- Int32
int: the resource ID of the theme against which to inflate this dialog, or 0 to use the parent context's default alert dialog theme
- Attributes
Remarks
Creates a Progress dialog.
Android reference for android.app.ProgressDialog.ProgressDialog.
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
ProgressDialog(IntPtr, JniHandleOwnership)
Initializes a managed representation of an existing Java Native Interface object.
protected ProgressDialog(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.ProgressDialog : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.ProgressDialog
Parameters
- javaReference
-
IntPtr
nativeint
The Java Native Interface object reference.
- transfer
- JniHandleOwnership
The ownership transfer to apply to the Java Native Interface object reference.
Remarks
This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.
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.