https://kotlinlang.org logo
s

Stefan de Kraker

06/09/2023, 4:58 PM
Somebody here if it is possible to use Lottie animations with compose? I saw something about skottie, but I couldn't find any examples online
👍 1
j

Jan

06/09/2023, 5:59 PM
Currently not. They do not play.
s

Stefan de Kraker

06/09/2023, 6:04 PM
Is their a way to use the except actual mechanism?
a

Alejandro Rios

06/09/2023, 9:24 PM
I think there more questions like this one in the history of this channel
d

Dima Avdeev

06/10/2023, 4:33 PM
@Ivan Matkov Can you please tell about your experience with Lottie on iOS side?
s

Stefan de Kraker

06/10/2023, 8:53 PM
I found Ivan's example online, but the compiler can't find
import org.jetbrains.skia.Rect
->
Unresolved reference: skia
but I can jump to the source of it
i

Ivan Matkov

06/12/2023, 7:14 AM
Here I wrote what the problem is. Also in that thread there was mentioned a workaround:
Reading
time
reference inside
drawIntoCanvas
block solves the issue.
s

Stefan de Kraker

06/12/2023, 8:58 AM
Ahh oke, but I still have the problem of
Unresolved reference: skia
do I need to make a change in a gradle script?
i

Ivan Matkov

06/13/2023, 12:17 PM
Update from DM: it was because it's unavailable in common/Android
4 Views