setAnimatedSrc

fun ImageView.setAnimatedSrc(animatedSrc: Drawable?)

Sets animatedSrc as the content of this ImageView, and start the animation of the drawable if supported.

If null is set, the content will be cleared.