Preface
This chapter is about Android. widget. seekbar. onseekbarchangelistener, version: Android 2.2 R1, translated from madgoat, welcome to his blog: http://madgoat.cn/, thanks again madgoat! I look forward to your participation in Android API Chinese translation, contact me over140@gmail.com.
Statement
You are welcome to repost, but please keep the original source of the article :)
Blog Garden: http://www.cnblogs.com/
Android Chinese translation group: http://www.cnblogs.com/over140/
Body
I. Structure
Public static interface seekbar. onseekbarchangelistener
Ii. Overview
When the progress changes, the callback function is used to notify the client. This includes changes that are triggered by a user through a gesture, direction key, or trackball, and changes that are triggered by programming.
Iii. Public Methods
Public abstract void onprogresschanged (seekbar, int progress, Boolean fromuser)
The notification progress has been modified. The client can use the fromuser parameter to distinguish between user-triggered changes and programming-triggered changes.
Parameters
Seekbar of the current modification progress
Current Progress value of SS. The value range is 0 to Max. Max is the value set by the user through setmax (INT). The default value is 100.
Fromuser returns true if it is a user-triggered change
Public abstract void onstarttrackingtouch (seekbar)
The user is notified to have started a touch drag gesture. The client may need to disable the seekbar slide function.
Parameters
Seekbar
Public abstract void onstoptrackingtouch (seekbar)
The notification user's touch gesture has ended. The user may need to use this to enable the seekbar slide function.
Parameters
Seekbar
End
The translation has evolved from an article published on Monday to more than a week now. I'm amazed that one person may only do small things, but a group of people can do big things. Thank you for your support :)