title: android- To force checkbox not to function from java code
body: <p>I have a checkbox in my layout.I need to make it remained checked until a condition occurs.Unless that condition occurs I don't want to make the checkbox unchecked for the furthur clicks.ie, I want to make its functioning stopped.Thanks in advance!!!</p>