code: private void restartInput() {
          InputMethodManager imm = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
          if (imm != null) {
              imm.restartInput(this);
          }
      }
docs: --------------------------------------------------