I have setOnCheckedChangeListener implemented for my checkbox
setOnCheckedChangeListener
checkbox
Is there a way I can call
checkbox.setChecked(false);
Add this code inside OnCheckedChangeListener:
if(!compoundButton.isPressed()) { return; }
This will help us to figure out weather checkBox state was changed programmatically or by user action.