code: public final void selectNavigationPreference(final int index,
                                                   @Nullable final Bundle arguments) {
          NavigationPreference navigationPreference =
                  index == -1 ? null : navigationPreferences.get(index);
  
          if (selectedNavigationPreference != navigationPreference) {
              if (navigationPreference != null &&
                      notifyOnSelectNavigationPreference(navigationPreference)) {
                  selectedNavigationPreference = navigationPreference;
                  selectedNavigationPreferenceIndex = index;
              } else {
                  selectedNavigationPreference = null;
                  selectedNavigationPreferenceIndex = -1;
              }
  
              if (navigationPreference != null) {
                  notifyOnNavigationPreferenceSelected(navigationPreference, arguments);
              } else {
                  notifyOnNavigationPreferenceUnselected();
              }
  
              super.notifyDataSetChanged();
          }
      }
docs: Selects a specific navigation preference.
  
  @param index
  The index of the navigation preference, which should be selected, among all
  navigation preferences, as an {@link Integer} value or -1, if no navigation
  preference should be selected
  @param arguments
  The arguments, which should be passed to the fragment, which is associated with the
  navigation preference, as an instance of the class {@link Bundle} or null, if no
  arguments should be passed to the fragment