public class BaseHandlers
extends java.lang.Object
implements android.content.DialogInterface.OnClickListener
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
TAG
Class identifier
|
Constructor and Description |
---|
BaseHandlers() |
Modifier and Type | Method and Description |
---|---|
void |
onClick(android.content.DialogInterface dialog,
int which) |
protected void |
showConfirmationDialog(android.content.Context context,
int titleId,
int msgId,
int buttonId)
Display a confirmation dialog
|
public void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener
protected void showConfirmationDialog(android.content.Context context, int titleId, int msgId, int buttonId)
context
- A contexttitleId
- Resource id of dialog titlemsgId
- Resource id of dialog messagebuttonId
- Resource id of dialog positive button