code: @SuppressWarnings({"WeakerAccess", "unused"}) // For library users
      public void enableKeyboardAutoHiding() {
          keyboardListener = new OnScrollListener() {
              @Override
              public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
                  if (dx != 0 || dy != 0) {
                      imeManager.hideSoftInputFromWindow(
                              Hits.this.getWindowToken(),
                              InputMethodManager.HIDE_NOT_ALWAYS);
                  }
                  super.onScrolled(recyclerView, dx, dy);
              }
          };
          addOnScrollListener(keyboardListener);
      }
docs: Starts closing the keyboard when the hits are scrolled.