https://kotlinlang.org logo
Title
h

Hamza GATTAL

05/19/2022, 3:17 PM
Hi everyone It's my first time using compose I want to implement the splash screen API My question is how I can do it
s

seb

05/19/2022, 3:36 PM
At Code with the Italians we had a stream on this topic, with the author of the androidx library

https://www.youtube.com/watch?v=4QdvUsN9I6Y

[disclaimer, I am one of the hosts]
🙌🏼 1
c

Chris Fillmore

05/19/2022, 9:24 PM
This has nothing to do with Compose, you can just use SplashScreen: https://developer.android.com/guide/topics/ui/splash-screen
s

seb

05/20/2022, 7:02 AM
It doesn't really work too well out of the box with Navigation unfortunately, if you have things like logic deciding whether to bring users to an onboarding or to the main content on startup, you need some acrobatics