startAnimation

fun ImageView.startAnimation(@DrawableRes drawableRes: Int)

Set the image of an ImageView using a DrawableRes and start the animation.