Seek is not progressing. All seekbar comes to zero but textView shows value properly..
choosePreset.setOnClickListener(new OnClickListener()
{
@Override
I am facing some other problem. but the given statement works.
Add updateThumb method in VerticalSeekbar class like
public void updateThumb()
{
onSizeChanged(getWidth(), getHeight(), 0, 0);
}
And then call update thumb method after setting progress.
seekBar.setProgress((int) progress);
seekBar.updateThumb();
This is actually better :
@Override
public void setProgress(int progress) {
super.setProgress(progress);
onSizeChanged(getWidth(), getHeight(), 0, 0);
}
Now setProgress()
method should work fine.