paySeekRange.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
Debug.i(TAG, "onProgressChanged 1: " + progress);
int progressMin = (progress * (maxPayRange - minPayRange) / 100) + minPayRange;
Debug.i(TAG, "onProgressChanged 2: " + progress);
int progressMax = (progress * (maxPayRange) / 100);
progress = (progress * (progressMax - progressMin) / 100) + progressMin;
Debug.i(TAG, "onProgressChanged 3: " + progress);
txtWeeklyPay.setText("$".concat(String.valueOf(progress)));
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
}
@Override
public void onStopTrackingTouch(SeekBar seekBar) {
}
});