How to uncheck the CheckBox, when limit exceeds in android? -
hello new android, requirement allow user check maximum 3 number of checkboxes. when user trying check fourth 1 should populate dailogue. iam trying problem fourth 1 not unchecking...
can 1 me...
regards shiva.m
just uncheck checkbox using following code block:
     final checkbox checkbox = (checkbox) findviewbyid(r.id.checkbox_id);      if (checkbox.ischecked()) {          checkbox.setchecked(false);      }      
Comments
Post a Comment