Closed luwei2012 closed 9 years ago
here's my code, public void startDeterminate() { button.setIcon(R.drawable.ic_fab_play,R.drawable.ic_fab_complete); button.resetIcon(); currentProgress = 0; button.showProgress(true); button.setProgress(100); }
For the second time I enter this methed, fabbutton will firstly show complete icon
Well, if I setProgress(Value>100), it will work fine.
here's my code, public void startDeterminate() { button.setIcon(R.drawable.ic_fab_play,R.drawable.ic_fab_complete); button.resetIcon(); currentProgress = 0; button.showProgress(true); button.setProgress(100); }
For the second time I enter this methed, fabbutton will firstly show complete icon