public abstract class TabSwipeController extends Object implements TabSwipeInterface<TabSwipeController.TabInfo>
| Modifier and Type | Class and Description |
|---|---|
static class |
TabSwipeController.TabInfo |
TabSwipeInterface.ITabInfo<T extends TabSwipeInterface.ITabInfo<T>>, TabSwipeInterface.OnTabSelectedListener| Constructor and Description |
|---|
TabSwipeController(android.content.Context context,
FragmentManager fragmentManager,
ActionBar actionBar) |
public TabSwipeController(android.content.Context context,
FragmentManager fragmentManager,
ActionBar actionBar)
public TabSwipeController.TabInfo addTab(CharSequence title, Class<? extends Fragment> fragmentClass)
addTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo addTab(CharSequence title, Class<? extends Fragment> fragmentClass, android.os.Bundle fragmentArguments)
addTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo addTab(int title, Class<? extends Fragment> fragmentClass)
addTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo addTab(int title, Class<? extends Fragment> fragmentClass, android.os.Bundle fragmentArguments)
addTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo addTab(TabSwipeController.TabInfo tabInfo)
addTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo addTab(TabSwipeController.TabInfo tabInfo, int position)
addTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public void bind(ViewPager viewPager)
public TabSwipeInterface.OnTabSelectedListener getOnTabSelectedListener()
getOnTabSelectedListener in interface TabSwipeInterface<TabSwipeController.TabInfo>public boolean isSmoothScroll()
isSmoothScroll in interface TabSwipeInterface<TabSwipeController.TabInfo>public boolean isSwipeEnabled()
isSwipeEnabled in interface TabSwipeInterface<TabSwipeController.TabInfo>protected ActionBar.Tab makeActionBarTab(TabSwipeController.TabInfo tabInfo)
public void onDestroyView()
protected abstract void onHandleTabs()
public void onTabSelected(int position)
public void reloadTabs()
reloadTabs in interface TabSwipeInterface<TabSwipeController.TabInfo>public void removeAllTabs()
removeAllTabs in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo removeTab(int position)
removeTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public TabSwipeController.TabInfo removeTab(TabSwipeController.TabInfo tabInfo)
removeTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public void setCurrentTab(int position)
setCurrentTab in interface TabSwipeInterface<TabSwipeController.TabInfo>public void setOnTabSelectedListener(TabSwipeInterface.OnTabSelectedListener onTabSelectedListener)
setOnTabSelectedListener in interface TabSwipeInterface<TabSwipeController.TabInfo>public void setSmoothScroll(boolean smoothScroll)
setSmoothScroll in interface TabSwipeInterface<TabSwipeController.TabInfo>public void setSwipeEnabled(boolean swipeEnabled)
setSwipeEnabled in interface TabSwipeInterface<TabSwipeController.TabInfo>Copyright © 2012-2013. All Rights Reserved.