@Override
  public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
    updateCurrentValue(progress);
  }
A simple Preference containing a SeekBar in order to select a size
samples/scrollperf/src/main/java/com/facebook/samples/scrollperf/preferences/SizePreferences.java