The second Android 11 Developer Preview is now available, test it out and share your feedback.

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.