fadeOut

fun <Error class: unknown class>.fadeOut(durationMillis: Long = 500, showAnimation: Boolean = true)

fadeOut is an extension function that start an Fade Out animation in a view when is called

Parameters

durationMillis

is the time the animation will take to run

showAnimation

sending this to false, will not show the animation in the screen