Splash screen in android using kotlin just like java. Thread in java is same as kotlin, we have to make
thread run certain time and go to next activity( or main activity) .
SpashScreen.Kt
You have to make your own layout as your requirement in activity_splash.xml.
It work just like java splash screen, it will be automatically redirect to MainActivity after 5 second.
#HappyCoding #ILoveKotlin #PrAndroid
Featured Post
Implementing Hilt in a Kotlin Android Jetpack Compose Project with MVVM Architecture
In modern Android development, maintaining a scalable codebase can be challenging, especially when it comes to dependency management. Hilt,...
Kotlin