commit | 68aed6a46fc7f663553a6420e6910698ff586e68 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gpeal@users.noreply.github.com> | Fri Jul 19 15:44:23 2019 -0400 |
committer | GitHub <noreply@github.com> | Fri Jul 19 15:44:23 2019 -0400 |
tree | f45592d9795ee6bdfd60975c4c379026d901f03c | |
parent | 5124894d68de45145e854683f086a8cb8a68e5a9 [diff] |
Add custom failure listener support to LottieAnimationView and log network failures (#1321) This changes the default failure behavior for network errors to log instead of crash. It also gives you the ability to set and clear failure listeners to handle this yourself. Fixes #1302
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:
Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.