Skip to content
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

Allowing for custom animations #6

Merged
merged 2 commits into from
Dec 16, 2018
Merged

Conversation

tyalie
Copy link
Contributor

@tyalie tyalie commented Dec 16, 2018

This fixes #5 by introducing the getter and setters for

  • mProgressAnimator.interpolator
  • mIndeterminateSweepAnimator.interpolator
  • mIndeterminateStartAnimator.interpolator

Every time the interpolators are changed the corresponding animation (indeterminate or not) are canceled (like it is handled in setProgress). Only in the indeterminate mode, the animation is restarted after the change occured.

@yuriy-budiyev yuriy-budiyev merged commit a770e86 into yuriy-budiyev:master Dec 16, 2018
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.

Allow for different animation interpolator
2 participants