public interface TabSwipeInterface<T extends TabSwipeInterface.ITabInfo<T>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TabSwipeInterface.ITabInfo<T extends TabSwipeInterface.ITabInfo<T>> |
static interface |
TabSwipeInterface.OnTabSelectedListener |
| Modifier and Type | Method and Description |
|---|---|
T |
addTab(CharSequence title,
Class<? extends Fragment> fragmentClass) |
T |
addTab(CharSequence title,
Class<? extends Fragment> fragmentClass,
android.os.Bundle fragmentArguments) |
T |
addTab(int title,
Class<? extends Fragment> fragmentClass) |
T |
addTab(int title,
Class<? extends Fragment> fragmentClass,
android.os.Bundle fragmentArguments) |
T |
addTab(T tabInfo) |
T |
addTab(T tabInfo,
int position) |
TabSwipeInterface.OnTabSelectedListener |
getOnTabSelectedListener() |
boolean |
isSmoothScroll() |
boolean |
isSwipeEnabled() |
void |
reloadTabs() |
void |
removeAllTabs() |
T |
removeTab(int position) |
T |
removeTab(T tabInfo) |
void |
setCurrentTab(int position) |
void |
setOnTabSelectedListener(TabSwipeInterface.OnTabSelectedListener onTabSelectedListener) |
void |
setSmoothScroll(boolean smoothScroll) |
void |
setSwipeEnabled(boolean swipeEnabled) |
T addTab(CharSequence title, Class<? extends Fragment> fragmentClass)
T addTab(CharSequence title, Class<? extends Fragment> fragmentClass, android.os.Bundle fragmentArguments)
T addTab(int title, Class<? extends Fragment> fragmentClass, android.os.Bundle fragmentArguments)
TabSwipeInterface.OnTabSelectedListener getOnTabSelectedListener()
boolean isSmoothScroll()
boolean isSwipeEnabled()
void reloadTabs()
void removeAllTabs()
T removeTab(int position)
void setCurrentTab(int position)
void setOnTabSelectedListener(TabSwipeInterface.OnTabSelectedListener onTabSelectedListener)
void setSmoothScroll(boolean smoothScroll)
void setSwipeEnabled(boolean swipeEnabled)
Copyright © 2012-2013. All Rights Reserved.