What is Lottie?
Lottie is an iOS, Android, and React Native library that renders the After Effects animations in real time, allowing apps to use animations as easily as they use static images.
Why Lottie?
Install-Package Com.Airbnb.Xamarin.Forms.Lottie -Version 2.3.4
Now, install the Lottie package in all your projects.
Initialize the Lottie plugin in Android Project in MainActivity.
Now, add the JSON file in the iOS project and make sure you have the build action in Bundle Resource.
Select animation JSON and right-click. Then, click on "Property".
Select the animation JSON and right-click. Then, click on "Property".
You should have your animation working!!
Lottie Animation In Android
Lottie Animation in iOS
Use this animation event code to play and pause the animation.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: