code: private void obtainShowDialogButtonBarDivider(@NonNull final TypedArray typedArray) {
          boolean defaultValue = getContext().getResources()
                  .getBoolean(R.bool.dialog_preference_default_show_dialog_button_bar_divider);
          showDialogButtonBarDivider(typedArray
                  .getBoolean(R.styleable.DialogPreference_showDialogButtonBarDivider, defaultValue));
      }
docs: Obtains the boolean value, which specifies whether the divider, which is located above the
  buttons of the dialog, which is shown by the preference, should be shown, from a specific
  typed array.
  
  @param typedArray
  The typed array, the boolean value should be obtained from, as an instance of the
  class {@link TypedArray}. The typed array may not be null