public class TabPager
������android.support.v4.app.FragmentTabHost�γɴ��䣬���л������У����ౣ��View���䣬������ִ��detach/attach����
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TabPager.SavedState
This is the persistent state that is saved by ViewPager. Only needed if you are creating a sublass of ViewPager that must save its own state, in which case it should implement a subclass of this which contains that state.
|
| 限定符和类型 | 方法和说明 |
|---|---|
androidx.viewpager.widget.PagerAdapter |
getAdapter() |
int |
getCurrentItem() |
void |
onLayout() |
void |
onMeasure() |
void |
onRestoreInstanceState() |
android.os.Parcelable |
onSaveInstanceState() |
void |
setAdapter()
Set a PagerAdapter that will supply views for this pager as needed.
|
void |
setCurrentItem() |
void |
setOnTabChangeListener() |
public void setAdapter()
Set a PagerAdapter that will supply views for this pager as needed.
public androidx.viewpager.widget.PagerAdapter getAdapter()
public void setCurrentItem()
public int getCurrentItem()
public void setOnTabChangeListener()
public android.os.Parcelable onSaveInstanceState()
public void onRestoreInstanceState()
public void onMeasure()
public void onLayout()