How to animate a view being removed from a ViewPager?
<p>I have a ViewPager in which I programmatically remove a view and set it to a new page, a little bit like this:</p>

<pre><code>private static class ProfilesPagerAdapter extends FragmentStatePagerAdapter
{
        private ArrayList&lt;SherlockFragment&gt; mViews = new ArrayList&lt;SherlockFragment&gt;();
        ...
}  

mProfilesPagerAdapter.mViews.remove(position);
mViewPager.setAdapter(mProfilesPagerAdapter);
mViewPager.setCurrentItem(newPos);
</code></pre>

<p>Is there a way I could put an animation on the view that is being removed?</p>
