Dynamic properties (#564)

This PR adds the ability to dynamically change properties at runtime.
The key parts are targeting content(s) with a KeyPath and then updating their value either with a LottieStaticValueCallback for a single fire and forget value or a LottieValueCallback which will be called with the current animation value information every time the animation is rendered. See the docs for relevant classes for more info.
45 files changed
tree: af9c953167f9c7fac1ba23b5effb4a1ea0a3ea10
  1. .github/
  2. .idea/
  3. After Effects Samples/
  4. gifs/
  5. gradle/
  6. lottie/
  7. LottieSample/
  8. .gitignore
  9. .travis.yml
  10. build.gradle
  11. CHANGELOG.md
  12. credentials.tar.gz
  13. DESIGNER_NOTES.md
  14. gradle.properties
  15. gradlew
  16. gradlew.bat
  17. LICENSE
  18. post_pr_comment.js
  19. README.md
  20. settings.gradle
  21. version.sh
README.md

Lottie for Android, iOS, React Native, and Web

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:

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 {
  compile 'com.airbnb.android:lottie:2.3.2-SNAPSHOT'
}