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