How to create single check box event for all check boxes in android?
<p>I'm new to android it is possible in .net, But i want to build this logic in android is it possible to do that please help me, i know only creating check box event for each check box instead of that i want to create single event for all Check boxes please help me.</p>

<p><strong>Vb.net</strong></p>

<pre><code>private sub Chkbox1_Checkchanged(byval sen as object,byval e as system.eventargs) handles Chkbox1.checked,chkbox2.checked,chkbox3.checked
    blnvalue=true
end sub
</code></pre>

<p><strong>android</strong></p>

<pre><code>  chkbox1= (CheckBo1) findViewById(R.id.chkbox1);
  rbtn1.setOnClickListener(new View.OnClickListener()
  {         
      public void onClick(View v) 
      {             
              blnvalue=true;
      }
   });
</code></pre>
