commit | dcbff626e31ed90a2a025b5ebd5e694fd83f73c9 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gabriel.peal@airbnb.com> | Mon Jan 15 13:10:33 2018 -0800 |
committer | Gabriel Peal <gabriel.peal@airbnb.com> | Mon Jan 15 13:49:24 2018 -0800 |
tree | e9e355938516603a0af1e7960c5ec134f5361484 | |
parent | 1a4a949c1a9881869547ae0c66b5acada0d4c316 [diff] |
Moved LottieComposition parsing to Parser classes This required setting up a init() method on LottieComposition to avoid exposing the fields directly outside of the lottie package. This also removed the bodymovin min version check for text layers because the layer parsing can no longer know the bodymovin version. This check can be moved to render time if needed.
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-beta3' }