private boolean generateRemoveAnimation(View child){
  if (mIsExpanded && mAnimationsEnabled) {
    if (!mChildrenToAddAnimated.contains(child)) {
      mChildrenToRemoveAnimated.add(child);
      mNeedsAnimation=true;
      return true;
    }
 else {
      mChildrenToAddAnimated.remove(child);
      mFromMoreCardAdditions.remove(child);
      return false;
    }
  }
  return false;
}

private boolean generateRemoveAnimation ( View child ) { if ( mIsExpanded && mAnimationsEnabled ) { if ( ! mChildrenToAddAnimated . contains ( child ) ) { mChildrenToRemoveAnimated . add ( child ) ; mNeedsAnimation = true ; return true ; } else { mChildrenToAddAnimated . remove ( child ) ; mFromMoreCardAdditions . remove ( child ) ; return false ; } } return false ; }
generate a remove animation for a child view .
