6월 3일의 ⁠#Android11: 베타 버전 출시 행사에 참여하세요.

androidx.viewpager2.adapter

Interfaces

FragmentStateAdapter.FragmentTransactionCallback.OnPostEventListener Callback returned by FragmentStateAdapter.FragmentTransactionCallback.onFragmentPreAdded(Fragment), FragmentStateAdapter.FragmentTransactionCallback.onFragmentPreRemoved(Fragment), FragmentStateAdapter.FragmentTransactionCallback.onFragmentMaxLifecyclePreUpdated(Fragment, Lifecycle.State) called after the operation ends. 
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:

FragmentStateAdapter.FragmentTransactionCallback Callback interface for listening to fragment lifecycle changes that happen inside the adapter. 
FragmentViewHolder RecyclerView.ViewHolder implementation for handling Fragments.