Google Android ViewPager Samples
The first project is from: http://developer.android.com/reference/android/support/v4/app/FragmentPagerAdapter.html
The second project is from: http://developer.android.com/reference/android/support/v4/app/FragmentStatePagerAdapter.html
There is only one difference: MyAdapter extends from FragmentPagerAdapter or FragmentStatePagerAdapter.
The FragmentStatePagerAdapter only keeps states, so it is more suitable for the pages' count is large.
The AnimationSample is from: http://developer.android.com/training/animation/screen-slide.html The screen slide part show 2 kinds of ViewPager animations.