commit | e320c993c4ee501b488dadb0a6bfe64f91ce7404 | [log] [tgz] |
---|---|---|
author | alex-dorokhov <alex.dorokhov@gmail.com> | Fri Oct 04 21:54:43 2024 +0300 |
committer | GitHub <noreply@github.com> | Fri Oct 04 14:54:43 2024 -0400 |
tree | 0502d2ce3a188cd6b61f8585f53879d8ed0ee0f1 | |
parent | b15f9bf26e68b794f8abc4286ab5c51d312bb3d5 [diff] |
Fix resolving key path for matte layers (#2544) This PR adds the check for matte layer name before going deeper during key path resolution. Without the fix the key path matches children inside the matte layer even though it should not, for example: 'layer_1.group_1.child_1' could match 'layer_1.**matte_1**.group_1.child_1' With the fix it is not possible anymore. Co-authored-by: Alexander Dorokhov <dorokhov17@yandex-team.ru>
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:
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
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:
The latest stable Lottie-Compose version is: Click here for more information on Lottie-Compose.
Lottie 2.8.0 and above only supports projects that have been migrated to androidx. For more information, read Google's migration guide.
Because development has started for Lottie Compose, Gradle, and the Android Gradle Plugin will be kept up to date with the latest canaries. This also requires you to use Android Studio Canary builds. Preview builds can be installed side by side with stable versions.