Hi everyone, does anyone know if any 3rd-party lib...
# compose-desktop
l
Hi everyone, does anyone know if any 3rd-party library out there supports Compose Desktop to run lotties?
👀 2
❤️ 3
1
f
I don't think so for now. Related issue
l
Thanks for sharing. Do you know if there is any workaround to run a complex animated image?
f
Read through the issue, there are several examples but I don't think any of them is "good enough". I've even tried Swing interop with JLabel which supports animated images but that didn't work for me either. Certainly let me know if you find something that works because I've too been struggling with this.
g
Also there is a big difference between support for lottie files and support of Gif files
👍 5
👍🏻 1
f
True, I feel I answered completely different question, sorry 😅 Representing Lottie files would be another thing entirely. GIF support could be a workaround until there is 3rd party Lottie support library though.
l
@Long Tran https://skia.org/docs/user/modules/skottie/ Maybe you already catched it from other post here that you likely can use Skottie for animations
d
To get Lottie working on Compose/iOS see here