@Override public void onItemClick(AdapterView<?> parent,View view,int position,long id){
  CheckBox enableComponentCheckbox=(CheckBox)view.findViewById(R.id.enable_component_checkbox);
  enableComponentCheckbox.performClick();
}

@ Override public void onItemClick ( AdapterView < ? > parent , View view , int position , long id ) { CheckBox enableComponentCheckbox = ( CheckBox ) view . findViewById ( R . id . enable_component_checkbox ) ; enableComponentCheckbox . performClick ( ) ; }
called when an entry of item is clicked .
