Google 致力于为黑人社区推动种族平等。查看具体举措

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

FragmentViewHolder

ViewHolder implementation for handling Fragments.