androidx.viewpager2.widget


Interfaces

ViewPager2.PageTransformer

A PageTransformer is invoked whenever a visible/attached page is scrolled.

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.

ViewPager2.OnPageChangeCallback

Callback interface for responding to changing state of the selected page.

WindowInsetsApplier

An OnApplyWindowInsetsListener that applies WindowInsets to all children of a ViewPager2, making sure they all receive the same insets regardless of whether any of them consumed any insets.