title: How to clear all checkboxes in ListActivity - or how to access each shown row?
body: <p>I used ListActivity to create rows with checkboxes.</p>
  
  <p>How can I clear or select all boxes at once AFTER the list has been created initially?</p>
  
  <p>During creation in getView I just have the line:</p>
  
  <pre><code>holder.checkbox.setChecked(false);
  </code></pre>
  
  <p><strong>But how can I access all the shown rows after they have been created outside getView?</strong></p>
  
  <p>This is how I create each row:</p>
  
  <pre><code>  @Override
      public View getView(int position, View convertView, ViewGroup parent) {
      View view = null;
      if (convertView == null) {
          LayoutInflater inflator = context.getLayoutInflater();
          view = inflator.inflate(R.layout.rowbuttonlayout, null);
          final ViewHolder viewHolder = new ViewHolder();
          viewHolder.text = (TextView) view.findViewById(R.id.label);
          viewHolder.checkbox = (CheckBox) view.findViewById(R.id.check);
          viewHolder.checkbox
              .setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
              @Override
              public void onCheckedChanged(CompoundButton buttonView,
                  boolean isChecked) {
                  XXX element = (XXX) viewHolder.checkbox.getTag();
                  element.selectedFlag = buttonView.isChecked() ? Constants.STATUS_SELECTED
                      : Constants.STATUS_UNSELECTED;
              }
              });
          view.setTag(viewHolder);
          viewHolder.checkbox.setTag(list.get(position));
      } else {
          view = convertView;
          ((ViewHolder) view.getTag()).checkbox.setTag(list.get(position));
      }
      ViewHolder holder = (ViewHolder) view.getTag();
      holder.checkbox.setChecked(false);
  
      return view;
      }
  }
  </code></pre>
  
  <p>Thanks!</p>