tankery / CircularSeekBar

Custom circular SeekBar (Circle, Semi-circle, and Ellipse) for Android
Apache License 2.0
368 stars 59 forks source link

Sometimes progress value is jumped from 0 to 100. #7

Closed iraj-wisilica closed 6 years ago

iraj-wisilica commented 7 years ago

The current thumb is at value of 0. When changing the seek bar speedy, the value jumps to 100. I suspect the following code block.

else if (lockAtEnd && lockEnabled) { mProgress = mMax; // Suspected here. recalculateAll(); invalidate(); if (mOnCircularSeekBarChangeListener != null) { mOnCircularSeekBarChangeListener.onProgressChanged(this, mProgress, true); } }

tankery commented 6 years ago

Sorry I can't reproduce this issue. Maybe because your finger is leave the screen and jump to another side when you move speedy?

If you can reproduce this, can you put more details on your description? Such as the attributes you use, and steps to reproduce this bug, thanks.

tankery commented 6 years ago

Hi, @iraj-wisilica do you still have trouble on this issue? I'll close this issue in next week if no new feedback comes, since the bug cannot been reproduced.

tankery commented 6 years ago

Can not reproduce.