public static interface TextView.OnEditorActionListener
Modifier and Type | Method and Description |
---|---|
boolean |
onEditorAction(TextView v,
int actionId,
KeyEvent event)
Called when an action is being performed.
|
boolean onEditorAction(TextView v, int actionId, KeyEvent event)
v
- The view that was clicked.actionId
- Identifier of the action. This will be either the
identifier you supplied, or EditorInfo.IME_NULL
if being called due to the enter key
being pressed.event
- If triggered by an enter key, this is the event;
otherwise, this is null.