blink

fun View.blink(duration: Long, repeatCount: Int)

Apply a blink animation the the view

Receiver

View

Parameters

duration

The duration of the animation

repeatCount

The number of times to blink the view. If set to -1, the view blinks indefinitely