Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.viewpager2.widget

Classes

CompositePageTransformer

Allows for combining multiple PageTransformer objects.

MarginPageTransformer

Adds space between pages via the ViewPager2.PageTransformer API.

ViewPager2

ViewPager2 replaces androidx.viewpager.widget.ViewPager, addressing most of its predecessor’s pain-points, including right-to-left layout support, vertical orientation, modifiable Fragment collections, etc.