public interface OnAddTab
| Modifier and Type | Method and Description |
|---|---|
Tab |
addTab(Fragment fragment)
A Factory pattern method to create a
Tab |
Tab |
addTab(Fragment fragment,
int position)
A Factory pattern method to create a
Tab |
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.
|
Tab addTab(TabFragment tabFragment)
TabtabFragment - , the TabFragment that will be added.Tab addTab(TabFragment tabFragment, int position)
TabtabFragment - , the TabFragment that will be added.position - , the position to add the TabFragment, -1 will be add to the endTab addTab(Fragment fragment)
Tabfragment - , the Fragment that will be added. The title will be the Class.getSimpleName()Tab addTab(Fragment fragment, java.lang.String title)
Tabfragment - , the Fragment that will be added.title - , the title that will be added.Tab addTab(Fragment fragment, java.lang.String title, android.graphics.drawable.Drawable drawable)
Tabfragment - , 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 titleTab addTab(Fragment fragment, int position)
Tabfragment - , the Fragment that will be added. The title will be the Class.getSimpleName()position - , the position to add the TabFragment, -1 will be add to the endTab addTab(Fragment fragment, java.lang.String title, int position)
Tabfragment - , 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 endTab addTab(Fragment fragment, java.lang.String title, android.graphics.drawable.Drawable drawable, int position)
Tabfragment - , 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