Releases: LottieFiles/dotlottie-android
Releases · LottieFiles/dotlottie-android
0.12.2
0.12.1
0.12.0
v0.11.0
What's Changed
- feat: Add thread count configuration support by @theashraf in #76
Full Changelog: 0.10.0...0.11.0
0.10.0
0.9.3
What's Changed
- Added ResLoader to handle loading from raw resources.
- Introduced DotLottieSource.Res to represent raw resource sources.
- Implemented ByteArray.isZipCompressed() to detect if a byte array represents a zip-compressed file.
- Updated DotLottieUtils.kt to integrate ResLoader into the loading process.
- Extended DotLottieLoader to provide a fromRes() method.
0.9.2
Bug Fixes
- Memory Management: Fixed memory leaks by ensuring OnGlobalLayoutListener is properly removed and LottieDrawable is released before loading new configurations
- Job Cancellation: Improved job cancellation logic to prevent race conditions by canceling previous configuration and animation jobs
- Error Handling: Enhanced error handling with proper onLoadError callbacks for DotLottieDrawable setup exceptions
- Compose Integration: Fixed listener duplication issues in Compose components and provided default error handling for onLoadError
New Features
- Event Listener Management: Added clearEventListeners method and support for dynamic addition/removal of event listener