tankery / CircularSeekBar

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

Proposition to add features: min and rounds counter #53

Closed code-n-roll closed 2 years ago

code-n-roll commented 2 years ago

Any plans to add such a counter rounds functionality ? Circular Taken from similar ios lib: https://github.com/HamzaGhazouani/HGCircularSlider/blob/master/Screenshots/Circular.gif

Regarding min I saw your answer on https://github.com/tankery/CircularSeekBar/issues/41. Your suggestion with offset is work for read value, but what if I want to write value as well i.e. pointer should be disabled at start position with offset ?

code-n-roll commented 2 years ago

Solved this by my own.

Rounds counter: https://github.com/code-n-roll/MusicPlayer/blob/master/app/src/main/java/com/romankaranchuk/musicplayer/utils/widgets/TimerCircularSeekBar.kt#L69

Min: https://github.com/code-n-roll/MusicPlayer/blob/master/app/src/main/java/com/romankaranchuk/musicplayer/utils/widgets/CircularSeekBar.kt#L1062