setDrawable

fun ImageView.setDrawable(@DrawableRes drawableRes: Int)

Set the image of an ImageView using a DrawableRes.