Skip to content

Add animationController and appearanceController to give better control over badge's animation #128

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

wamynobe
Copy link

Connection with issue(s)

#127
Resolve issue #???
#127

Connected to #???
#127

Testing and Review Notes

I am not sure but I ran all current test cases and they all passed. Because this pr will not cause any breaking changes so I think It will be fine 😃

Screenshots or Videos

To Do

  • double check the original issue to confirm it is fully satisfied
  • add testing notes and screenshots in PR description to help guide reviewers
  • request the "UX" team perform a design review (if/when applicable)

@wamynobe wamynobe changed the title Add animationController and appearanceController to give better control over badge's animation [WIP] Add animationController and appearanceController to give better control over badge's animation Dec 22, 2023
@wamynobe
Copy link
Author

There is a problem that the AnimationController will call dispose() more than once.

@wamynobe wamynobe changed the title [WIP] Add animationController and appearanceController to give better control over badge's animation Add animationController and appearanceController to give better control over badge's animation Dec 26, 2023
@wamynobe
Copy link
Author

@yadaniyil Can you take a look on this please?

@wamynobe
Copy link
Author

@M-ixai-L Can you take a look on this pls?

@wamynobe
Copy link
Author

@M-ixai-L There are some cases that I want the badge to animate even if it did not change the value. In these cases I think animationController.forward will be fine. So getting the animation controller instance from badge class is a simple way to archive that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant