title: Check all checkboxes, when one checkbox is clicked in Android?
body: <p>The thing I'm trying is to check all those checkboxes, when &quot;cbkomplet&quot; is checked.<br />
  But it doesn't work.<br />
  Here's the code I have so far.</p>
  <pre><code>CheckBox repeatChkBx = ( CheckBox ) findViewById( R.id.cbkomplet );
          repeatChkBx.setOnCheckedChangeListener(new OnCheckedChangeListener()
          {
              public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
              {
                  if ( isChecked )
                  {
                      cbreg.isChecked();
                      cbtank.isChecked();
                      cbzoop.isChecked();
                      cbkom.isChecked();
                      cbmaske.isChecked();
                      cbbl.isChecked();
                      
                  }
  
              }
          });
  </code></pre>