android.content
public
static
interface
android.content.DialogInterface.OnClickListener
| android.content.DialogInterface.OnClickListener |
|
Interface used to allow the creator of a dialog to run some code when the dialog is canceled.
Summary
Details
Public Methods
public
void
onClick(DialogInterface dialog, int which)
This method will be invoked when a button in the dialog is clicked.
Parameters
| dialog
| The dialog that was cancelled will be passed into the method. |
| which
| The button that was clicked, i.e. BUTTON1 or BUTTON2 or the position of the item
clicked.
|