code: 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));
      }
docs: Obtains, whether an input method should be used, or not, from a specific typed array.
  
  @param typedArray
  The typed array, which should be used to retrieve, whether an input method should be
  used, or not, as an instance of the class {@link TypedArray}. The typed array may not
  be null