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

androidx.viewpager2.widget

Interfaces

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

Classes

CompositePageTransformer Allows for combining multiple ViewPager2.PageTransformer objects. 
MarginPageTransformer Adds space between pages via the ViewPager2.PageTransformer API. 
ViewPager2 ViewPager2 replaces 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.