commit | 5084f6e956fbe0e77e1b207c22c59399efce9840 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gpeal@users.noreply.github.com> | Sun Mar 11 14:59:21 2018 -0700 |
committer | GitHub <noreply@github.com> | Sun Mar 11 14:59:21 2018 -0700 |
tree | 6aa18fbf6672f6dc49995b0ec2ec02c47b9fc8d1 | |
parent | db1fec20584d16444c6f8f743c165b82453775c8 [diff] |
Update the drawable when the composition is reset to the same one (#676) Previously, if you set an animation, switched to a drawable, and switched back to the same animation, LottieDrawable would report that the composition was the same and it would not update the drawable on LottieAnimationView. Fixes #648
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 { compile 'com.airbnb.android:lottie:2.5.0' }