public void removeOnTabSelectedListener(OnTabSelectedListener listener){
  if (listener != null) {
    mListeners.remove(listener);
  }
}

public void removeOnTabSelectedListener ( OnTabSelectedListener listener ) { if ( listener != null ) { mListeners . remove ( listener ) ; } }
removes the given tab listener from this layout
