ViewFlipper is a neat little wrapper class for applying a page-turning animation to a set of pages. It makes use of the tween animation classes that we learned about in the previous chapter, and extends them with an XML interface.
ViewFlipper is actually a subclass of something called a
ViewAnimator. Do not get confused! A
ViewAnimator is a completely different class to a
ValueAnimator or an
ObjectAnimator, and they are not interchangeable.
Let's see more.