docs: public boolean onKeyUp(int keyCode, KeyEvent event) {
          if (isShowing() && mDropDownList.getSelectedItemPosition() >= 0) {
              boolean consumed = mDropDownList.onKeyUp(keyCode, event);
              if (consumed && isConfirmKey(keyCode)) {
                  // if the list accepts the key events and the key event was a click, the text view
                  // gets the selected item from the drop down as its content
                  dismiss();
              }
              return consumed;
          }
          return false;
      }