docs: public void setArgs(@Nullable final String startPath, final int mode,
                          final boolean allowMultiple, final boolean allowDirCreate,
                          final boolean allowExistingFile, final boolean singleClick) {
          // Validate some assumptions so users don't get surprised (or get surprised early)
          if (mode == MODE_NEW_FILE && allowMultiple) {
              throw new IllegalArgumentException(
                      "MODE_NEW_FILE does not support 'allowMultiple'");
          }
          // Single click only makes sense if we are not selecting multiple items
          if (singleClick && allowMultiple) {
              throw new IllegalArgumentException("'singleClick' can not be used with 'allowMultiple'");
          }
          // There might have been arguments set elsewhere, if so do not overwrite them.
          Bundle b = getArguments();
          if (b == null) {
              b = new Bundle();
          }
  
          if (startPath != null) {
              b.putString(KEY_START_PATH, startPath);
          }
          b.putBoolean(KEY_ALLOW_DIR_CREATE, allowDirCreate);
          b.putBoolean(KEY_ALLOW_MULTIPLE, allowMultiple);
          b.putBoolean(KEY_ALLOW_EXISTING_FILE, allowExistingFile);
          b.putBoolean(KEY_SINGLE_CLICK, singleClick);
          b.putInt(KEY_MODE, mode);
          setArguments(b);
      }