You can listen to events such as onLoad, onComplete, and onLoadError in the DotLottieAnimation composable function. It is possible to have multiple event listeners for a single DotLottieAnimation instance.
Please refer to the DotLottieEventListener interface for a complete list of event listeners and their descriptions.