public class OnItemClickListenerWrapper extends AbstractListenerWrapper implements android.widget.AdapterView.OnItemClickListener
AdapterView.OnItemClickListener in order to delegate the
method calls to encapsulated listener of the type DialogInterface.OnClickListener.| Constructor and Description |
|---|
OnItemClickListenerWrapper(android.content.DialogInterface.OnClickListener listener,
ValidateableDialog dialog,
int buttonType)
Creates a new wrapper, which implements the interface
AdapterView.OnItemClickListener in order to
delegate the method calls to encapsulated listener of the type DialogInterface.OnClickListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
onItemClick(android.widget.AdapterView<?> parent,
android.view.View view,
int position,
long id) |
attemptCloseDialog, getButtonType, getDialogpublic OnItemClickListenerWrapper(android.content.DialogInterface.OnClickListener listener,
ValidateableDialog dialog,
int buttonType)
AdapterView.OnItemClickListener in order to
delegate the method calls to encapsulated listener of the type DialogInterface.OnClickListener.listener - The listener, which should be encapsulated by the wrapper, as an instance of the type
DialogInterface.OnClickListener or null, if no listener should be encapsulateddialog - The dialog, the listener should belong to, as an instance of the type ValidateableDialog. The dialog may not be nullbuttonType - The type of the button or list item, the listener belongs to, as an Integer
value