I also use these to set the value that the slider bar represents:
sliderSeekBar.setMax();
sliderSeekBar.setWidthMax();
those 2 look the same and I don't know for sure if one of them is unnecessary, but when removed the sliderSeekBar.setWidthMax, it didn't work.