commit | ed3a018b7df48f7019226d876fef9b4718a15d07 | [log] [tgz] |
---|---|---|
author | Sergei Dryganets <sergey.dryganets@gmail.com> | Sat Jun 23 14:00:35 2018 -0700 |
committer | Gabriel Peal <gpeal@users.noreply.github.com> | Sat Jun 23 14:00:35 2018 -0700 |
tree | 70402a0f0ae3cc6fa3c3a77104fd0e703799344d | |
parent | cd547e41a623cafd3d7c2918fbb43ff7bc93f642 [diff] |
Fixed danglign choreographer callback. (#775) **This patch fixes the performance issue.** I've seen the cases where the previous version of the code was re-adding callbacks to the choreographer in case of cancelation/pause. Now it is designed to make it impossible. It looks like there is a copy of the callbacks stored somewhere in the stack. I've been able to reproduce the problem on Android 6.0 and 7.0. This issue caused application performance degradation and battery drain in the background for us.
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' }