commit | 4750fbd71bddb2b7f7303bf7ec2ed877cf0a542e | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gpeal@users.noreply.github.com> | Sat Aug 04 13:23:31 2018 -0700 |
committer | GitHub <noreply@github.com> | Sat Aug 04 13:23:31 2018 -0700 |
tree | 886d3715e74573e300b17ac09a1318ebf159d3ac | |
parent | 3f9ee24b530d21414fbc5eddc7c52f2d23fc89cb [diff] |
Allow shapes with different point counts but warn (#865) Previously, Lottie would crash and not even try to render animations with shapes that had a different number of vertices. Now Lottie logs a warnings but renders the first n points where n is the min number of points between the two shapes. Fixes #856
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:2.5.5' }