commit | e76e4454f8031c13c8773759b13d68fdc83d45bd | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gpeal@users.noreply.github.com> | Sun Sep 23 22:30:12 2018 -0700 |
committer | GitHub <noreply@github.com> | Sun Sep 23 22:30:12 2018 -0700 |
tree | ad9e68dff3fa8899d4d2b8c5031b0d6d495df72e | |
parent | c567cbb970b747ce29a8f46ca115934a4a2aa9e3 [diff] |
LottieCompositionFactory and Caching Cleanup (#959) This cleans up a number of things related to the LottieCompositionFactory. It: * Handled task caching at the LottieCompositionFactory level so it is guaranteed to work everywhere. The existing architecture left several instances where compositions would not be cached. * Simplified the way tasks are handled in LottieAnimationView * Fixes #958 in which different cache keys are used for rawRes animations * Removed deprecated factory APIs
Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!
For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000:
Gradle is the only supported build configuration, so just add the dependency to your project build.gradle
file:
dependencies { implementation 'com.airbnb.android:lottie:$lottieVersion' }
The latest Lottie version is: