onWindowFocusChanged

open override fun onWindowFocusChanged(hasFocus: Boolean)

Called when the current Window of the activity gains or loses focus.

Since the splash screen features an animated logo, this function is overridden to keep track of when the splash screen activity gains focus (that is, upon launching) and subsequently trigger the animation of the logo.

Parameters

hasFocus

Whether the window of this activity has focus.