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

androidx.viewpager2.adapter

Interfaces

StatefulAdapter ViewPager2 adapters should implement this interface to be called during View.onSaveInstanceState() and View.onRestoreInstanceState(Parcelable)  

Classes

FragmentStateAdapter Similar in behavior to FragmentStatePagerAdapter

Lifecycle within RecyclerView:

FragmentViewHolder RecyclerView.ViewHolder implementation for handling Fragments.