public static interface DialogInterface.OnClickListener
Modifier and Type | Method and Description |
---|---|
void |
onClick(DialogInterface dialog,
int which)
This method will be invoked when a button in the dialog is clicked.
|
void onClick(DialogInterface dialog, int which)
dialog
- The dialog that received the click.which
- The button that was clicked (e.g.
DialogInterface.BUTTON1
) or the position
of the item clicked.