Android Utililty Methods KeyEvent Check

List of utility methods to do KeyEvent Check

Description

The list of methods to do KeyEvent Check are organized into topic(s).

Method

booleanisUserDoneEditing(int actionId, KeyEvent event)
Has the user finished editing some field
switch (actionId) {
case EditorInfo.IME_ACTION_SEARCH:
case EditorInfo.IME_ACTION_DONE:
    return true;
if (event != null) {
    int eventAction = event.getAction();
    int eventKeyCode = event.getKeyCode();
...