Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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.