code: private void obtainSummaries(@NonNull final TypedArray typedArray) {
          try {
              setSummaries(typedArray.getTextArray(R.styleable.SeekBarPreference_android_summary));
          } catch (Resources.NotFoundException e) {
              setSummaries(null);
          }
      }
docs: Obtains the summaries, which are shown depending on the currently persisted value, from a
  specific typed array.
  
  @param typedArray
  The typed array, the summaries should be obtained from, as an instance of the class
  {@link TypedArray}. The typed array may not be null