Google is committed to advancing racial equity for Black communities. See how.

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.