private void obtainUnit ( @ NonNull final TypedArray typedArray ) { setUnit ( typedArray . getText ( R . styleable . AbstractUnitPreference_unit ) ) ; }
Obtains the unit which is used for textual representation of the preference s value from a specific typed array .