public class ShopLiveHomeFragment.ViewPagerAdapter
extends androidx.fragment.app.FragmentStatePagerAdapter
构造器和说明 |
---|
ViewPagerAdapter(androidx.fragment.app.FragmentManager fm,
java.util.List<androidx.fragment.app.Fragment> fragments,
java.util.List<ShopHomeTabUtil.TabType> tabTitleList,
ShopLiveHomeFragment fra) |
限定符和类型 | 方法和说明 |
---|---|
void |
destroyItem(android.view.ViewGroup container,
int position,
java.lang.Object object) |
int |
getCount() |
androidx.fragment.app.Fragment |
getItem(int position) |
java.lang.CharSequence |
getPageTitle(int position) |
java.lang.Object |
instantiateItem(android.view.ViewGroup container,
int position) |
finishUpdate, isViewFromObject, restoreState, saveState, setPrimaryItem, startUpdate
public ViewPagerAdapter(androidx.fragment.app.FragmentManager fm, java.util.List<androidx.fragment.app.Fragment> fragments, java.util.List<ShopHomeTabUtil.TabType> tabTitleList, ShopLiveHomeFragment fra)
public java.lang.Object instantiateItem(android.view.ViewGroup container, int position)
instantiateItem
在类中 androidx.fragment.app.FragmentStatePagerAdapter
public void destroyItem(android.view.ViewGroup container, int position, java.lang.Object object)
destroyItem
在类中 androidx.fragment.app.FragmentStatePagerAdapter
public androidx.fragment.app.Fragment getItem(int position)
getItem
在类中 androidx.fragment.app.FragmentStatePagerAdapter
public int getCount()
getCount
在类中 androidx.viewpager.widget.PagerAdapter
public java.lang.CharSequence getPageTitle(int position)
getPageTitle
在类中 androidx.viewpager.widget.PagerAdapter