ckurtm / FabButton

Android Floating ActionButton with a progress indicator ring
774 stars 152 forks source link

twice set complete icon #19

Closed luwei2012 closed 9 years ago

luwei2012 commented 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

luwei2012 commented 9 years ago

Well, if I setProgress(Value>100), it will work fine.