Introduction
The LottieAnimation
extension is written in Java and compiled using JDK11. This extension allows you to load lottie animations from json in a simple manner. The extension works in Companion and APK.
Method Blocks
LoadLottieFile
This method allows you to load a lottie animation file from assets into a Web Viewer.
Usage:
ConfigureWebViewer
This method configures web viewer to work as a lottie player, so it can display your lottie animation correctly (no zoom, no scroll, transparent background)
Usage
Next implementations
- Add lottie player events (animationStart, animationEnd, animationLoop, etc.)
- Add play/stop methods
- Remove configureWebViewer method and configure web viewer automatically when a lottie file is loaded
Downloads
AIX: com.tomasbarak.LottieAnimation.aix (84.7 KB)
AIA: LottieAnimationOfficial.aia (87.3 KB)