public void addPauseListener(AnimatorPauseListener listener){
  if (mPauseListeners == null) {
    mPauseListeners=new ArrayList<AnimatorPauseListener>();
  }
  mPauseListeners.add(listener);
}

public void addPauseListener ( AnimatorPauseListener listener ) { if ( mPauseListeners == null ) { mPauseListeners = new ArrayList < AnimatorPauseListener > ( ) ; } mPauseListeners . add ( listener ) ; }
adds a pause listener to this animator .
