-
-
Notifications
You must be signed in to change notification settings - Fork 119
Fix animated miss implemented for android #552
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll also need a check inside initNativeView
method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With a few tweaks, Property
declaration shall be good.
Remove old getter and setter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Types will help prevent possible errors in case of refactoring class in the future.
@kefahB Let me also point out this line: https://github.com/NativeScript/plugins/blob/main/packages/animated-circle/index.android.ts#L42 |
Add typings
Thanks @CatchABus I'll merge and fix up last condition within initNativeView there, thanks @kefahB for effort here! |
Published in 1.2.0 |
Hi @NathanWalker,
The
animated
property was miss implemented for android, the circle is animated even if we satanimated = false
and make the animation restarted for each iteration because of the continuous update of theprogress
property, then the last one is animated but too lately.