SplashScreenController

class SplashScreenController(splashScreen: SplashScreen, defaultExitDuration: Long = 300)

Author: @Jeluchu

This class allows you to quickly and easily implement a Splash Screen with the new Jetpack API

Parameters

splashScreen

you must pass by parameter Activity.installSplashScreen() from SplashScreen

defaultExitDuration

you will be able to spend a certain amount of time for the duration of the animation. By default it is set to 300

Constructors

Link copied to clipboard
constructor(splashScreen: SplashScreen, defaultExitDuration: Long = 300)

Functions

Link copied to clipboard
fun customizeSplashScreenExit(keys: List<SplashAnimations>, onExitExtraActions: () -> Unit = {})