public class LabelCreateHandlers extends BaseHandlers
TAG
Constructor and Description |
---|
LabelCreateHandlers() |
Modifier and Type | Method and Description |
---|---|
private void |
create(LabelCreateViewModel vm)
Create a new Label
|
void |
onCreateClick(LabelCreateViewModel vm)
Click on create button
|
boolean |
onEditorAction(android.widget.TextView textView,
int id,
android.view.KeyEvent keyEvent,
LabelCreateViewModel vm)
Keyboard action
|
onClick, showConfirmationDialog
public void onCreateClick(LabelCreateViewModel vm)
vm
- A ViewModelpublic boolean onEditorAction(android.widget.TextView textView, int id, android.view.KeyEvent keyEvent, LabelCreateViewModel vm)
textView
- The viewid
- The IME typekeyEvent
- The KeyEventvm
- The ViewModelprivate void create(@NonNull LabelCreateViewModel vm)
vm
- A ViewModel