setImageDrawable

open fun setImageDrawable(@IdRes id: Int, drawable: Drawable): ImageView

根据 Drawable 设置图像 setImageResource

Return

ImageView

Parameters

id

视图ID

drawable