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

Support Animated VectorDrawables #57

Open
benpious opened this issue Jun 25, 2019 · 1 comment
Open

Support Animated VectorDrawables #57

benpious opened this issue Jun 25, 2019 · 1 comment

Comments

@benpious
Copy link
Collaborator

Android supports this. We may want to support it too.

We'll need to investigate whether this is actually a popular enough feature of the Android SDK to justify support, as Lottie is already an excellent cross platform option for those who need this feature.

The main blocker to this is that it will likely require a new API that allows loading off the main thread but can return the size of the drawable immediately, as animated drawables will likely be significantly larger than static ones, but we should be able to return something that has a size immediately. This may imply a more complex data structure than the VectorDrawable struct that can be passed around while it's still deserializing off the main thread, then can notify its displaying view (if it has one) once it's done.

@flatslats
Copy link

+1 for this feature!

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

No branches or pull requests

2 participants