Dialog.SetOnDismissListener(IDialogInterfaceOnDismissListener) 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.
Set a listener to be invoked when the dialog is dismissed.
[Android.Runtime.Register("setOnDismissListener", "(Landroid/content/DialogInterface$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_content_DialogInterface_OnDismissListener_Handler")]
public virtual void SetOnDismissListener (Android.Content.IDialogInterfaceOnDismissListener? listener);
[<Android.Runtime.Register("setOnDismissListener", "(Landroid/content/DialogInterface$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_content_DialogInterface_OnDismissListener_Handler")>]
abstract member SetOnDismissListener : Android.Content.IDialogInterfaceOnDismissListener -> unit
override this.SetOnDismissListener : Android.Content.IDialogInterfaceOnDismissListener -> unit
Parameters
- listener
- IDialogInterfaceOnDismissListener
The DialogInterface.OnDismissListener
to use.
- Attributes
Remarks
Java documentation for android.app.Dialog.setOnDismissListener(android.content.OnDismissListener)
.
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.