onChecked

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

Called when the view bound to the model is checked.

Parameters

model

The model that the view is bound to.

parentView

The view bound to the model which received the click.

checkedView

The view that received the click. This is either a child of the parentViewor the parentView itself

isChecked

The new value for isChecked property.

position

The position of the model in the adapter.