This method will be invoked when a button in the dialog is clicked.
Syntax
[Android.Runtime.Register("onClick", "(Landroid/content/DialogInterface;I)V", "GetOnClick_Landroid_content_DialogInterface_IHandler")]
public virtual
void OnClick (
Android.Content.IDialogInterface dialog,
int which)
Parameters
- dialog
- The dialog that received the click.
- which
- The button that was clicked (e.g.
Android.Content.DialogInterface.Button1) or the position
of the item clicked.
Remarks
Requirements
Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1