public void setCheckBoxSelected(boolean sel) {
    user.selected = sel;
    chekbox.setChecked(user.selected);
    chekbox.invalidate();

    Log.d(TAG, "setSelected select =" + user.selected);
  }
 public void onClick(View v) {
   user.selected = !user.selected;
   chekbox.setChecked(user.selected);
   Log.d(TAG, "onClick select =" + user.selected);
 }