I'm using your button to launch an action that might succeed or fail.
When it succeeds, I call doneLoadingAnimation(colorSuccess, bitmapSuccess), and when it fails I call doneLoadingAnimation(colorFailure, bitmapFailure).
The first time I click the button, if the action fails the animation displays as expected. But after that if the action succeeds, the animation does not displays as expected.
Hi,
I'm using your button to launch an action that might succeed or fail. When it succeeds, I call
doneLoadingAnimation(colorSuccess, bitmapSuccess)
, and when it fails I calldoneLoadingAnimation(colorFailure, bitmapFailure)
. The first time I click the button, if the action fails the animation displays as expected. But after that if the action succeeds, the animation does not displays as expected.Best regards.