title: CheckBox and setOnItemClickListener not working in android
body: <p>I am using <code>ListView</code> with <code>CheckBox</code>. I have selected only one <code>CheckBox</code> but it's automatically selected into Multiple Rows using <code>ScrollView</code>.</p>
  
  <p>Sample Code (This Code is working Perfectly)</p>
  
  <pre><code>       holder.checkbox.setOnClickListener( new OnClickListener()
          {
              public void onClick( View v )
              {
                  CheckBox cb = ( CheckBox ) v;
                  if ( cb.isChecked() )
                  {
                      test[position] = true;
                      holder.checkbox.setChecked(test[position]);
                  }
                  else
                  {
                      test[position] = false;
                      holder.checkbox.setChecked(test[position]);
                  }
              }
          });
          holder.checkbox.setChecked(test[position]);
  </code></pre>
  
  <p>But When i uses <code>setOnItemClickListener</code> it's not working.</p>
  
  <p>Sample Code (This code is not working for me)</p>
  
  <pre><code>        listview.setOnItemClickListener( new OnItemClickListener() 
          {
              public void onItemClick( AdapterView&lt;?&gt; parent, final View v, final int position, long id ) 
              {
                  holder.checkbox = ( CheckBox ) v.findViewById( R.id.lock_File_CheckBox );
                  if ( holder.checkbox.isChecked() )
                  {
                      test[position] = false;
                      holder.checkbox.setChecked(test[position]);
                  }
                  else
                  {
                      test[position] = true;
                      holder.checkbox.setChecked(test[position]);
                  }
              }
          });
          holder.checkbox.setChecked(test[position]);
  </code></pre>
  
  <p>Where i can mistaken. How do avoid this <code>CheckBox</code> Selection. </p>
  
  <p>Can you please help me?</p>