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

Allow setting cache strategy in xml #156

Closed
aaboyd opened this issue Feb 23, 2017 · 1 comment
Closed

Allow setting cache strategy in xml #156

aaboyd opened this issue Feb 23, 2017 · 1 comment
Assignees

Comments

@aaboyd
Copy link
Contributor

aaboyd commented Feb 23, 2017

Currently you can set the animation file in xml, but you cannot define a cache strategy, so if you would like to leverage the cache at all you need to call setAnimation. I would like the convenience of only needing to add a LottieAnimationView in my layout without having to bother calling setAnimation

@gpeal
Copy link
Collaborator

gpeal commented Feb 23, 2017

Good idea

@gpeal gpeal self-assigned this Feb 23, 2017
@gpeal gpeal closed this as completed in 9303221 Feb 24, 2017
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