Register now for Android Dev Summit 2019!

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.