public abstract class FragmentPagerAdapter2
extends android.support.v4.app.FragmentPagerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected android.support.v4.app.Fragment |
currentFragment |
protected int |
currentPosition |
| Constructor and Description |
|---|
FragmentPagerAdapter2(android.support.v4.app.FragmentManager fm) |
| Modifier and Type | Method and Description |
|---|---|
android.support.v4.app.Fragment |
getCurrentFragment() |
int |
getCurrentPosition() |
void |
setPrimaryItem(android.view.ViewGroup container,
int position,
java.lang.Object object) |
destroyItem, finishUpdate, getItem, getItemId, instantiateItem, isViewFromObject, restoreState, saveState, startUpdateprotected int currentPosition
protected android.support.v4.app.Fragment currentFragment
public FragmentPagerAdapter2(android.support.v4.app.FragmentManager fm)
public void setPrimaryItem(android.view.ViewGroup container,
int position,
java.lang.Object object)
setPrimaryItem in class android.support.v4.app.FragmentPagerAdapterpublic int getCurrentPosition()
public android.support.v4.app.Fragment getCurrentFragment()