private void obtainDecimals ( @ NonNull final TypedArray typedArray ) { int defaultValue = getContext ( ) . getResources ( ) . getInteger ( R . integer . seek_bar_preference_default_decimals ) ; setDecimals ( typedArray . getInteger ( R . styleable . SeekBarPreference_decimals , defaultValue ) ) ; }
Obtains the number of decimals of the floating point numbers the preference allows to choose from a specific typed array .