public abstract class AbstractFragmentStepAdapter extends android.support.v4.app.FragmentPagerAdapter implements StepAdapter
StepperLayout.| Modifier and Type | Field and Description |
|---|---|
protected android.content.Context |
context |
| Constructor and Description |
|---|
AbstractFragmentStepAdapter(android.support.v4.app.FragmentManager fm,
android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
Step |
findStep(int position)
Finds the given step without creating it.
|
android.support.v4.app.Fragment |
getItem(int position) |
android.support.v4.view.PagerAdapter |
getPagerAdapter()
Method for internal purpose.
|
StepViewModel |
getViewModel(int position)
Returns the view information to be used to display the step.
|
destroyItem, finishUpdate, getItemId, instantiateItem, isViewFromObject, restoreState, saveState, setPrimaryItem, startUpdatedestroyItem, finishUpdate, getCount, getItemPosition, getPageTitle, getPageWidth, instantiateItem, notifyDataSetChanged, registerDataSetObserver, setPrimaryItem, startUpdate, unregisterDataSetObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateStep, getCountpublic AbstractFragmentStepAdapter(@NonNull
android.support.v4.app.FragmentManager fm,
@NonNull
android.content.Context context)
public final android.support.v4.app.Fragment getItem(int position)
getItem in class android.support.v4.app.FragmentPagerAdapterpublic Step findStep(int position)
findStep in interface StepAdapterposition - step positionFragmentPagerAdapter.makeFragmentName(int, long)@NonNull public StepViewModel getViewModel(int position)
getViewModel in interface StepAdapterposition - step positionpublic final android.support.v4.view.PagerAdapter getPagerAdapter()
getPagerAdapter in interface StepAdapterViewPager.