leandroBorgesFerreira / LoadingButtonAndroid

A button to substitute the ProgressDialog
MIT License
1.95k stars 214 forks source link

stopAnimation method is not working #87

Open ashu5398 opened 6 years ago

ashu5398 commented 6 years ago

How to handle animation event when there occurs any error and we want user to try again with the button because doneLoadingAnimation() removes the accesibility from button.

leandroBorgesFerreira commented 5 years ago

Sorry for answering months latter, I have been busy.

You could use the revertAnimation and make the button the get back to the original state. Wouldn't this work?

supergenedy commented 5 years ago

revertAnimation makes the button return to the original state but it removes the background style and the button appears with no corners and when I set the background style programmatically and startAnimation again the button keeps the style and the progress appears with corners .. How to solve this please ?