Early Introduction of ViewPager2
New Features
Right-to-left (RTL) layout support
Vertical Orientation Support
A Better PageChangeListener
What has been changed!
PagerAdapter is replaced by RecyclerView.Adapter.
FragmentStatePagerAdapter is replaced by FragmentStateAdapter.
Source: https://blog.usejournal.com/early-introduction-of-viewpager2-ff38c60d2169