Build 1.0_r1(from source)

android.content
Interface DialogInterface.OnClickListener

All Known Implementing Classes:
DatePickerDialog, DialogPreference, EditTextPreference, ListPreference, SeekBarPreference, Spinner, TimePickerDialog, VolumePreference
Enclosing interface:
DialogInterface

public static interface DialogInterface.OnClickListener

Interface used to allow the creator of a dialog to run some code when an item on the dialog is clicked..


Method Summary
 void onClick(DialogInterface dialog, int which)
          This method will be invoked when a button in the dialog is clicked.
 

Method Detail

onClick

void onClick(DialogInterface dialog,
             int which)
This method will be invoked when a button in the dialog is clicked.

Parameters:
dialog - The dialog that received the click.
which - The button that was clicked, i.e. BUTTON1 or BUTTON2 or the position of the item clicked.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature