code: private void showPreferenceFragment(@NonNull final NavigationPreference navigationPreference,
                                          @Nullable final Bundle arguments) {
          if (arguments != null && navigationPreference.getExtras() != null) {
              arguments.putAll(navigationPreference.getExtras());
          }
  
          selectedPreferenceFragment = navigationPreference.getFragment();
          selectedPreferenceFragmentArguments =
                  arguments != null ? arguments : navigationPreference.getExtras();
  
          if (!TextUtils.isEmpty(selectedPreferenceFragment)) {
              Fragment fragment = Fragment.instantiate(this, navigationPreference.getFragment(),
                      selectedPreferenceFragmentArguments);
              showPreferenceFragment(navigationPreference, fragment);
              showBreadCrumb(navigationPreference, selectedPreferenceFragmentArguments);
          } else {
              removePreferenceFragmentUnconditionally();
  
              if (isSplitScreen()) {
                  showBreadCrumb(navigationPreference, selectedPreferenceFragmentArguments);
              }
          }
  
          adaptWizardButtonVisibilities();
      }
docs: Shows the fragment, which is associated with a specific navigation preference.
  
  @param navigationPreference
  The navigation preference, whose fragment should be shown, as an instance of the
  class {@link NavigationPreference}. The navigation preference may not be null
  @param arguments
  The arguments, which should be passed to the fragment, as an instance of the class
  {@link Bundle} or null, if the navigation preferences's extras should be used
  instead