| Constructor and Description |
|---|
OnAddTabDefaultImpl(TabBody tabBody,
TabHeaderUpdater updateTabHeader) |
| Modifier and Type | Method and Description |
|---|---|
Tab |
addTab(Fragment fragment)
The base addTab method.
|
Tab |
addTab(Fragment fragment,
int position)
The base addTab method.
|
Tab |
addTab(Fragment fragment,
java.lang.String title)
A Factory pattern method to create a
Tab |
Tab |
addTab(Fragment fragment,
java.lang.String title,
android.graphics.drawable.Drawable drawable)
A Factory pattern method to create a
Tab |
Tab |
addTab(Fragment fragment,
java.lang.String title,
android.graphics.drawable.Drawable drawable,
int position)
A Factory pattern method to create a
Tab |
Tab |
addTab(Fragment fragment,
java.lang.String title,
int position)
A Factory pattern method to create a
Tab |
Tab |
addTab(TabFragment tabFragment)
The base addTab method.
|
Tab |
addTab(TabFragment tabFragment,
int position)
The base addTab method.
|
public OnAddTabDefaultImpl(TabBody tabBody, TabHeaderUpdater updateTabHeader)
public Tab addTab(TabFragment tabFragment)
OnAddTabTabaddTab in interface OnAddTabtabFragment - , the TabFragment that will be added.public Tab addTab(TabFragment tabFragment, int position)
OnAddTabTabaddTab in interface OnAddTabtabFragment - , the TabFragment that will be added.position - , the position to add the TabFragment, -1 will be add to the endpublic Tab addTab(Fragment fragment)
OnAddTabTabaddTab in interface OnAddTabfragment - , the TabFragment that will be added.public Tab addTab(Fragment fragment, java.lang.String title)
OnAddTabTabpublic Tab addTab(Fragment fragment, java.lang.String title, android.graphics.drawable.Drawable drawable)
OnAddTabTabpublic Tab addTab(Fragment fragment, int position)
OnAddTabTabaddTab in interface OnAddTabfragment - , the TabFragment that will be added.position - , the position to add the TabFragment, -1 will be add to the endpublic Tab addTab(Fragment fragment, java.lang.String title, int position)
OnAddTabTabaddTab in interface OnAddTabfragment - , the Fragment that will be added.title - , the title that will be added.position - , the position to add the TabFragment, -1 will be add to the endpublic Tab addTab(Fragment fragment, java.lang.String title, android.graphics.drawable.Drawable drawable, int position)
OnAddTabTabaddTab in interface OnAddTabfragment - , the Fragment that will be added.title - , the title that will be added.drawable - , the Drawable that will be added to the top of the titleposition - , the position to add the TabFragment, -1 will be add to the end