public final class SimpleEvents extends Object
SimpleEvents.with(context).handleEnterKeyPress(myEditText);
| Modifier and Type | Class and Description |
|---|---|
static interface |
SimpleEvents.EnterKeyPressListener |
static class |
SimpleEvents.EnterKeyPressSuppressor |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEnterKeyPress(View editText)
Attaches a listener so that this activity's onEnterKeyPress method will be called
when the Enter key is pressed on the given view.
|
static SimpleEvents |
with(Context context)
Returns a singleton SimpleEvents instance bound to the given context.
|
public static SimpleEvents with(Context context)
public void handleEnterKeyPress(View editText)