public interface StepAdapter
StepperLayout.| Modifier and Type | Method and Description |
|---|---|
Step |
createStep(int position)
Create each step of the
StepperLayout. |
Step |
findStep(int position)
Finds the given step without creating it.
|
int |
getCount()
Get the step count.
|
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.
|
Step createStep(int position)
StepperLayout.position - The position of the PagerAdapter to be used inside the ViewPager.StepperLayout.Step findStep(int position)
position - step positionFragmentPagerAdapter.makeFragmentName(int, long)@NonNull StepViewModel getViewModel(int position)
position - step positionint getCount()
android.support.v4.view.PagerAdapter getPagerAdapter()
ViewPager.