-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically setting text doesn't reflect after reverting animation #150
Comments
Hello @somesh-basicx. You're right, I can reproduce this bug. Thanks for catching this! I'll take a look and fix it as soon as I can. Mean while, you can workaround this by using the call back in the
|
Any plan to fix this issue? |
@somesh-basicx I had the same issue, seems to be fixed in latest version 2.2.0 |
Is there any Java equivalent to this workaround? I can't seem to find that constructor. |
@ardevd Did you get the solution? I need to set text after revert Animation. Text Setting and being changed as defined in XML class |
@Swati-soni-14 No, I haven't found a solution yet. |
I'm also looking forward to achieve this in Java. Any updates? |
I know that I'm answering this several months later... But the Java workaround was always available:
|
I am using CircularProgressButton in XML like this
and button setting the text on button inside my fragment and start the animation like this
btnSelfCheckInCheckOut.startAnimation()
and when I revert the animation the dynamically applied text is lost. I found a workout for this by callingsaveInitialState()
after changing text.The text was updated successfully, but these errors were encountered: