bindSrcCompat

fun ImageView.bindSrcCompat(@DrawableRes resource: Int)

Set drawable from resourceId

Parameters

resource

drawable resource id