Home > Mobile >  VerticalSeekbar onProgressRefresh no response, who will help to solve?
VerticalSeekbar onProgressRefresh no response, who will help to solve?

Time:10-03

I have an application need to use the vertical Seekbar and so on the basis of the existing AbsSeekBar rewrite, everywhere now online code for reference for example, through up and down keys to set the Seekbar progress, who have a solution?
Void onProgressRefresh (float scale, Boolean fromUser, int progress) {
Drawable thumb=mThumb;
If (thumb!=null) {
SetThumbPos (getHeight (), thumb, scale, Integer. MIN_VALUE);
Invalidate ().
}
If (mOnSeekBarChangeListener!=null) {
MOnSeekBarChangeListener. OnProgressChanged (this, getProgress (), fromUser);
}
Toast. MakeText (getContext (), "onProgressRefresh", Toast. LENGTH_SHORT), show ();
}

CodePudding user response:

This method can not rewrite the onProgressRefresh ()
  • Related