leandroBorgesFerreira / LoadingButtonAndroid

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

How do I implement a simple indeterminate loading on click of the button? #129

Open Devenom1 opened 5 years ago

Devenom1 commented 5 years ago

I need to start the indeterminate circle loading animation on click of a button, make a network call and stop the loading animation after getting a response from the network call and reset the button to its previous state. I know it seems very simple but I could not manage to do it even with the documentation.

Could someone help me out with this?