public void addState(int[] specs,Animator animation,Animator.AnimatorListener listener){
  Tuple tuple=new Tuple(specs,animation,listener);
  animation.addListener(mAnimationListener);
  mTuples.add(tuple);
}

public void addState ( int [ ] specs , Animator animation , Animator . AnimatorListener listener ) { Tuple tuple = new Tuple ( specs , animation , listener ) ; animation . addListener ( mAnimationListener ) ; mTuples . add ( tuple ) ; }
associates the given animation with the provided drawable state specs so that it will be run when the view ' s drawable state matches the specs .
