public abstract class AbstractStepAdapter extends android.support.v4.view.PagerAdapter implements StepAdapter
StepperLayout.
This class is intended to be inherited if you need to use StepperLayout without fragments.
Otherwise, you should use AbstractFragmentStepAdapter| Modifier and Type | Field and Description |
|---|---|
protected android.content.Context |
context |
| Constructor and Description |
|---|
AbstractStepAdapter(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
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, destroyItem, finishUpdate, finishUpdate, getCount, getItemPosition, getPageTitle, getPageWidth, instantiateItem, instantiateItem, isViewFromObject, notifyDataSetChanged, registerDataSetObserver, restoreState, saveState, setPrimaryItem, setPrimaryItem, startUpdate, startUpdate, unregisterDataSetObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateStep, findStep, getCountpublic AbstractStepAdapter(@NonNull
android.content.Context context)
@NonNull public StepViewModel getViewModel(int position)
getViewModel in interface StepAdapterposition - step positionpublic final android.support.v4.view.PagerAdapter getPagerAdapter()
getPagerAdapter in interface StepAdapterViewPager.