private void obtainShowValueAsSummary ( @ NonNull final TypedArray typedArray ) { boolean defaultValue = getContext ( ) . getResources ( ) . getBoolean ( R . bool . dialog_preference_default_show_value_as_summary ) ; showValueAsSummary ( typedArray . getBoolean ( R . styleable . DialogPreference_showValueAsSummary , defaultValue ) ) ; }
Obtains the boolean value which specifies whether the currently persisted value should be shown as the summary instead of the given summaries from a specific typed array .