Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 android 开发的新手,我onProgressChanged用来获取当前进度,因为进度是函数的参数。
onProgressChanged
但是当用户释放不是即时值时,我只想获得进度的最终值。seekbar
seekbar
提前致谢。
当用户停止滑动(即完成触摸手势)并提供“最终值”时,将调用onStopTrackTouch中定义的方法。OnSeekBarChangeListenerSeekBar
onStopTrackTouch
OnSeekBarChangeListener
SeekBar