If you want your CheckBox to be unselectable then you have to do this:
checkBox.setEnabled(false);
And that’s all. Your checkbox will not be selectable :)
If you want your CheckBox to be unselectable then you have to do this:
checkBox.setEnabled(false);
And that’s all. Your checkbox will not be selectable :)