private void obtainUseInputMethod ( @ NonNull final TypedArray typedArray ) { boolean defaultValue = getContext ( ) . getResources ( ) . getBoolean ( R . bool . number_picker_preference_default_use_input_method ) ; useInputMethod ( typedArray . getBoolean ( R . styleable . AbstractNumberPickerPreference_useInputMethod , defaultValue ) ) ; }
Obtains whether an input method should be used or not from a specific typed array .