Skip to content
This repository was archived by the owner on Aug 7, 2026. It is now read-only.

Added a method for resetting the animation - #28

Open
ZianeA wants to merge 1 commit into
alexjlockwood:masterfrom
ZianeA:animation-reset
Open

Added a method for resetting the animation#28
ZianeA wants to merge 1 commit into
alexjlockwood:masterfrom
ZianeA:animation-reset

Conversation

@ZianeA

@ZianeA ZianeA commented Dec 23, 2020

Copy link
Copy Markdown

I stumbled upon this library while looking for a way to reset AnimatedVectorDrawable to its initial state. I found this thread on Reddit where Nick Butcher recommends your library. I was surprised to find that Kyrie didn't have a reset function. After digging a little deeper, I discovered that I can simply reset the currentPlayTime to zero. However, I still think it's valuable to have a more straight forward way to do this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant