DialogFragment 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 |
|---|---|
| DialogFragment() |
Initializes a dialog fragment without creating its dialog. |
| DialogFragment(IntPtr, JniHandleOwnership) |
Initializes a managed representation of an existing Java Native Interface object. |
DialogFragment()
Initializes a dialog fragment without creating its dialog.
[Android.Runtime.Register(".ctor", "()V", "")]
public DialogFragment();
- Attributes
Remarks
Android reference for android.app.DialogFragment.DialogFragment.
Applies to
DialogFragment(IntPtr, JniHandleOwnership)
Initializes a managed representation of an existing Java Native Interface object.
protected DialogFragment(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.DialogFragment : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.DialogFragment
Parameters
- javaReference
-
IntPtr
nativeint
The Java Native Interface object reference.
- transfer
- JniHandleOwnership
Specifies how the runtime handles the JNI reference, including its release and peer registration.
Remarks
This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.