setSelectedThroughBinding

fun ImageView.setSelectedThroughBinding(selected: Boolean?)

Changes the selection state of the ImageView to selected. If selected is null the selection state is set to false.

Exposes the setter for ImageView.isSelected.