epoxy-adapter / com.airbnb.epoxy / OnModelCheckedChangeListener / onChecked

onChecked

abstract fun onChecked(model: T, parentView: V, checkedView: CompoundButton!, isChecked: Boolean, position: Int): Unit

Called when the view bound to the model is checked.

Parameters

model - T: The model that the view is bound to.

parentView - V: The view bound to the model which received the click.

checkedView - CompoundButton!: The view that received the click. This is either a child of the parentView or the parentView itself

isChecked - Boolean: The new value for isChecked property.

position - Int: The position of the model in the adapter.