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

Add the ability to set custom cache keys or set non cache key #1450

Merged
merged 1 commit into from
Nov 30, 2019

Conversation

gpeal
Copy link
Collaborator

@gpeal gpeal commented Nov 30, 2019

Add LottieCompositionCache functions now have an optional third parameter for the cache key. Null can be passed in to skip caching.
This can be configured to happen automatically for LottieAnimationView from xml with lottie_cacheComposition or programmatically with setCacheComposition

Fixes #1289

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@gpeal gpeal merged commit ee94224 into master Nov 30, 2019
@gpeal gpeal deleted the gpeal/clear-composition-cache2 branch November 30, 2019 22:47
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.

Add cache strategy feature
2 participants