SplashScreenActivity

class SplashScreenActivity : <ERROR CLASS> ERROR CLASS: Symbol not found for AppCompatActivity

Entry-point activity that displays the SplashScreen for 3 seconds before launching MainActivity and finishing itself.

MainViewModel.checkUser is called here so that ART bytecode verification of the ViewModel and Repository coroutine lambdas (and the credential bootstrap network calls) happen during the existing 3-second splash window instead of on the main thread when MainActivity.onResume runs.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun onCreate(savedInstanceState: Bundle?)

Displays SplashScreen, triggers MainViewModel.checkUser to pre-warm credentials, then launches MainActivity after a 3-second delay.