Ejemplo n.º 1
0
  public void setCheckBoxSelected(boolean sel) {
    user.selected = sel;
    chekbox.setChecked(user.selected);
    chekbox.invalidate();

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