setChecked

open fun setChecked(checked: Boolean)(source)

Checks the checkbox for the item view. If the checkbox is hidden, it will NOT be made visible, call setCheckable for that.

Parameters

checked

Whether the checkbox should be checked