public void generateAddAnimation(View child,boolean fromMoreCard){
  if (mIsExpanded && mAnimationsEnabled && !mChangePositionInProgress) {
    mChildrenToAddAnimated.add(child);
    if (fromMoreCard) {
      mFromMoreCardAdditions.add(child);
    }
    mNeedsAnimation=true;
  }
}

public void generateAddAnimation ( View child , boolean fromMoreCard ) { if ( mIsExpanded && mAnimationsEnabled && ! mChangePositionInProgress ) { mChildrenToAddAnimated . add ( child ) ; if ( fromMoreCard ) { mFromMoreCardAdditions . add ( child ) ; } mNeedsAnimation = true ; } }
generate an animation for an added child view .
