private void obtainPositiveButtonText(@NonNull final TypedArray typedArray) {
        setPositiveButtonText(
                typedArray.getText(R.styleable.DialogPreference_android_positiveButtonText));
    }
private void obtainPositiveButtonText ( @ NonNull final TypedArray typedArray ) { setPositiveButtonText ( typedArray . getText ( R . styleable . DialogPreference_android_positiveButtonText ) ) ; }
Obtains the positive button text of the dialog, which is shown by the preference, from a
specific typed array.

@param typedArray
The typed array, the positive button text should be obtained from, as an instance of
the class {@link TypedArray}. The typed array may not be null