public class LabelHandlers extends BaseHandlers
Modifier and Type | Field and Description |
---|---|
private BaseActivity |
mActivity |
private Label |
mLabel
Label that may be operated on
|
private java.lang.String |
TAG |
Constructor and Description |
---|
LabelHandlers(BaseActivity baseActivity) |
Modifier and Type | Method and Description |
---|---|
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
onDeleteClick(android.content.Context context,
Label label)
Click on delete button
|
android.view.View.OnFocusChangeListener |
OnFocusChangeListener(LabelViewModel vm)
Listen for FocusChange events on the Label view
|
showConfirmationDialog
private final BaseActivity mActivity
private final java.lang.String TAG
private Label mLabel
LabelHandlers(BaseActivity baseActivity)
public void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener
onClick
in class BaseHandlers
public void onDeleteClick(android.content.Context context, Label label)
context
- A contextlabel
- The Labelpublic android.view.View.OnFocusChangeListener OnFocusChangeListener(LabelViewModel vm)
vm
- The ViewModel