Hello Team Is there any library load gif for Compo...
# compose
y
Hello Team Is there any library load gif for ComposeMulti platform? Or How Handel gif in splash know it is finish to move second screen ?
c
Can you specify what you want now? Load a gif or show an animated gif on the splash screen? Those are 2 totally different problems.
y
Show gif in splash after finish splash move to next screen
c
Well that’s not possible on mobile. What you can/should show on the splashscreen is very restricted - at least on Android.
y
Yes you are right if i use normal screen after default splash screen that is applicable wait time for gif then move another screen
c
But you will most probably not get through the review with 2 splash screens.
Anyway there is no KMP library I know of that can load gif‘s let alone animated gif‘s Check this site https://klibs.io/?query=Gif
🙏 1
c
i thought coil can load gifs. but what christian said about "splash screens" is that you would have to create your own fake "splash screen" to accomplish anything like that. not necessarily recommended but of course, its your app so you can do whatever you want.
c
Coil and Gif is Android only.
c
not sure if im reading your message properly. but coil is KMP compatible now https://github.com/coil-kt/coil or maybe you're saying "coil with gif is android only" in that case. TIL!
c
Image from iOS.jpg
c
gotcha. so you were talking about gif support in coil is android only.
👍🏼 1
y
this library support CMP https://github.com/Kamel-Media/Kamel
👍 1
c
I don’t see gifs mentioned in the readme - but if it works for you, great!