简体   繁体   中英

get progress in onStopTrackingTouch not onProgressChanged in seekbar

I'm new to android development , I use onProgressChanged to get current progress as progress is a parameter of the function .

but I want to get only the final value of progress when user release the seekbar not the Immediate value.

Thanks in advance.

所述onStopTrackTouch中所定义的方法OnSeekBarChangeListener当用户停止滑动被称为SeekBar (即,已经完成了触摸手势),并提供了“最终值”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM