Join Slack
Powered by
I wish to make a loading animation windows during ...
# compose-desktop
s
sonder-joker
03/23/2021, 10:06 AM
I wish to make a loading animation windows during loading, and exit on application launch success, but when I
Copy code
AppManager.focusedWindow?.close()
the loading animation windowss, it will entirely exit What's the best way to solve it?
o
olonho
03/23/2021, 10:37 AM
See
https://github.com/JetBrains/compose-jb/blob/b00aa7d5d3052daf54d8408e239ff116f3f32[…]geviewer/desktop/src/jvmMain/kotlin/example/imageviewer/Main.kt
for an example of splash screen in more Compose style API (which will become the default soon)
s
sonder-joker
03/23/2021, 10:38 AM
Thanks for your help!
5
Views
Open in Slack
Previous
Next