A few days ago, Airbnb opened an animation library Lottie, the address is github.com/airbnb/lott… After AE animation is a plugin for bodyMoving to convert to JSON files. A library that plays animations directly in Native or React-Native. If you need to use app animation effects, you can add a JSON file without writing any code related to animation

In the past, animation often through GIF or handwritten a long string of code to achieve the desired effect, with GIF although simple and fast, but on the one hand may GIF itself will be very large, unless compressed (but doing so may appear image distortion). On the other hand, performance will be poor, if imageView optimization is not in place, memory inflation. Hand-written animation, like I said, requires a lot of debugging. The disadvantages mentioned above are what Lottie is good at. A JSON file with a complex animation can be as small as 500KB, usually tens of kilobytes. The memory growth for playing animations through Lottie is no more than 2m, and there is no distortion due to the vector representation.

So when you have complex animation requirements and a short development time, you can consider using Lottie for animation presentation

##PS In order to test whether Lottie can accurately play the animation I want, I also specially after Effects for animation production, but I did not finish an animation for a long time. I had to go to the company UI for help, which was done in a matter of minutes. Sure enough, it is still the best efficiency to hand over a professional person