setCheckable

abstract fun setCheckable(checkable: Boolean)(source)

Displays the checkbox for the item view. This does not ensure the item view will be checked, for that use setChecked.

Parameters

checkable

Whether to display the checkbox or to hide it