leandroBorgesFerreira / LoadingButtonAndroid

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

Callback in onAnimationEnd() for startAnimation() #117

Closed NicolasDucom closed 5 years ago

NicolasDucom commented 5 years ago

Hi ! When I click on the button and send a network call, I'd like to be able to wait for the button to finish animating using a callback like for the revertAnimation() call before sending my request, would that be possible ? Thank you !

leandroBorgesFerreira commented 5 years ago

Hi @NicolasDucom the Button doesn't have support for this yet, but it is very to do. Why don't you open a PR for this? Shouldn't take long

NicolasDucom commented 5 years ago

Sure ! No problem 👍

leandroBorgesFerreira commented 5 years ago

I am on a trip right now. I will release a new version as soon as I am back. Just a few days.

NicolasDucom commented 5 years ago

No problem ! Have a good trip 👍

leandroBorgesFerreira commented 5 years ago

This is fixed, right?