How to listen to Seekbar thumb onClick events?

I would like to register a clickable event on the seekbar's thumb in order to trigger an event when the user has cliked it. Is it possible?Any ideas?Thanks in advance!


Override the OnTouchListener for the seekbar and only process the movement on the thumb when the MotionEvent is a move event.

event.getAction() == MotionEvent.ACTION_MOVE

Please refer the https://github.com/AnderWeb/discreteSeekBar

链接地址: http://www.djcxy.com/p/64342.html

上一篇: 如何在SeekBar的拇指正上方找到Y位置?

下一篇: 如何收听Seekbar thumb onClick事件?