Basic Workflow
One of the primary motivations behind Lottie is to make shipping animations just as easy as shipping static assest.
Switch from static assets to animations with 3 lines of code!
Static Asset Workflow
Put your pngs or vector drawables (xml) in res/drawable
Include it in your layout
Lottie workflow
Put your lottie json in res/raw
Include it in your layout:
LottieAnimationView
extends ImageView
so you can start by simply replacing your ImageViews with LottieAnimationViews even if you are still using drawables!
Last updated