Add the offical patch to solve the LottieAnimationView exception. am: 8ded831b92

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/lottie/+/14986355

Change-Id: I1e09d19cf2a1395e7c52210a9a146e6e91ef6899
tree: 05fe4bbf03603703931670dfb2e19f7173e88ef9
  1. .github/
  2. .idea/
  3. After Effects Samples/
  4. gifs/
  5. gradle/
  6. issue-repro/
  7. lottie/
  8. LottieSample/
  9. .gitignore
  10. .travis.yml
  11. Android.bp
  12. build.gradle
  13. CHANGELOG.md
  14. CODE_OF_CONDUCT.md
  15. credentials.tar.gz
  16. decrypt.sh
  17. deploy_snapshot.sh
  18. DESIGNER_NOTES.md
  19. gcloud_run.sh
  20. gcloud_setup.sh
  21. gradle.properties
  22. gradlew
  23. gradlew.bat
  24. LICENSE
  25. METADATA
  26. MODULE_LICENSE_APACHE2
  27. post_pr_comment.js
  28. proguard.flags
  29. README.md
  30. RELEASE.md
  31. secrets.tar.enc
  32. settings.gradle
  33. sign.sh
  34. version.sh
README.md

Lottie for Android, iOS, React Native, Web, and Windows

Build Status

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:

Sponsors

Lottie is maintained and improved on nights and weekends. If you use Lottie in your app, please consider sponsoring it to help ensure that we can continue to improve the project we love. Click the sponsor button above to learn more

Lead Sponsors

View documentation, FAQ, help, examples, and more at airbnb.io/lottie

Example1

Example2

Example3

Community

Example4

Download

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: lottieVersion

Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.