commit | 88bed53078a691b2f0b1eafb3d32071ab5cdb779 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gpeal@users.noreply.github.com> | Fri Jan 04 09:04:13 2019 -0800 |
committer | GitHub <noreply@github.com> | Fri Jan 04 09:04:13 2019 -0800 |
tree | 8ed8f101ec8a57e10f78580aa83fa6efb7752b31 | |
parent | 52e4d63419a311559c55f63d06fd91a545ece795 [diff] |
New RenderMode API (#1072) While testing, I discovered that animations with lots of/large masks and mattes perform significantly worse with hardware acceleration than software acceleration on pre-Pie devices because of RenderNode#textureUpload. It is really hard to detect this dynamically so I'm leaving the default on automatic (with an additional heuristic for >4 mattes and masks) but having an option to set it to hardware/software manually. #381
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.