package

androidx.viewpager2.widget

Interfaces

ViewPager2.PageTransformerA PageTransformer is invoked whenever a visible/attached page is scrolled.

Classes

CompositePageTransformerAllows for combining multiple ViewPager2.PageTransformer objects.
MarginPageTransformerAdds space between pages via the ViewPager2.PageTransformer API.
ViewPager2ViewPager2 replaces ViewPager, addressing most of its predecessor’s pain-points, including right-to-left layout support, vertical orientation, modifiable Fragment collections, etc.
ViewPager2.OnPageChangeCallbackCallback interface for responding to changing state of the selected page.
WindowInsetsApplierAn 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.

Annotation Types

ViewPager2.OffscreenPageLimit
ViewPager2.Orientation
ViewPager2.ScrollState