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

@param position the global position