Felix Schütz
08/30/2021, 8:12 AMclass MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
installSplashScreen()
setContent {
// ...
}
}
}
However, setContent
replaces the root view when it finishes loading, so any custom splash screen animation will not play. Is there a better alternative?Colton Idle
08/31/2021, 7:39 AMFelix Schütz
08/31/2021, 8:43 AM