private void removeAnimatingView ( View view ) { if ( mNumAnimatingViews > 0 ) { for ( int i = mAnimatingViewIndex ; i < getChildCount ( ) ; ++ i ) { if ( getChildAt ( i ) == view ) { removeViewAt ( i ) ; -- mNumAnimatingViews ; if ( mNumAnimatingViews == 0 ) { mAnimatingViewIndex = - 1 ; } mRecycler . recycleView ( view ) ; return ; } } } }
Removes a view from the animatingViews list .