code: private OnSeekBarChangeListener createSeekBarListener(
              @NonNull final TextView progressTextView) {
          return new OnSeekBarChangeListener() {
  
              @Override
              public void onStopTrackingTouch(final android.widget.SeekBar seekBar) {
  
              }
  
              @Override
              public void onStartTrackingTouch(final android.widget.SeekBar seekBar) {
  
              }
  
              @Override
              public void onProgressChanged(final android.widget.SeekBar seekBar, final int progress,
                                            final boolean fromUser) {
                  currentValue = (float) getMinValue() + (float) progress / (float) getMultiplier();
                  currentValue = adaptToStepSize(currentValue);
                  progressTextView.setText(getProgressText(currentValue));
              }
  
          };
      }
docs: Creates and returns a listener, which allows to display the currently chosen value of the
  pereference's seek bar. The current value is internally stored, but it will not become
  persisted, until the user's confirmation.
  
  @param progressTextView
  The text view, which should be used to display the currently chosen value, as an
  instance of the class {@link TextView}. The text view may not be null
  @return The listener, which has been created, as an instance of the type {@link
  OnSeekBarChangeListener}