code: public void toggleSelection(int position) {
          if (mFastAdapter.getItem(position).isSelected()) {
              deselect(position);
          } else {
              select(position);
          }
      }
docs: toggles the selection of the item at the given position
  
  @param position the global position