public boolean onLongClick(int position){
  if (mMode == MODE_SINGLE_SELECT) {
    mSelectedItems.add(position);
    notifySelectionChanged(position);
    setMode(MODE_MULTIPLE_SELECT);
    return true;
  }
  return false;
}

public boolean onLongClick ( int position ) { if ( mMode == MODE_SINGLE_SELECT ) { mSelectedItems . add ( position ) ; notifySelectionChanged ( position ) ; setMode ( MODE_MULTIPLE_SELECT ) ; return true ; } return false ; }
to be invoked when an item in the list is long - clicked ( even when not in multi selection mode ) .
