Android
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 an item on the dialog is clicked..

Known Indirect Subclasses

Summary

Public Methods

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

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 received the click.
which The button that was clicked, i.e. BUTTON1 or BUTTON2 or the position of the item clicked.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48