public void removeSwipeListener(SwipeListener listener){
  if (mListeners == null) {
    return;
  }
  mListeners.remove(listener);
}

public void removeSwipeListener ( SwipeListener listener ) { if ( mListeners == null ) { return ; } mListeners . remove ( listener ) ; }
removes a listener from the set of listeners
