public class SimpleTabAdapter
extends <any>
| Modifier and Type | Class and Description |
|---|---|
static class |
com.tompee.funtablayout.BaseAdapter.BaseBuilder |
static class |
SimpleTabAdapter.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected int |
mTabBackgroundResId |
protected int |
mTabIndicatorColor |
protected int |
mTabPaddingBottom |
protected int |
mTabPaddingEnd |
protected int |
mTabPaddingStart |
protected int |
mTabPaddingTop |
protected int |
mTabTextAppearance |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentIndicatorPosition() |
int |
getItemCount() |
protected int |
getTabIndicatorColor() |
int |
getTabIndicatorHeight() |
protected int |
getTabVisibleCount() |
ViewPager |
getViewPager() |
void |
onBindViewHolder(com.tompee.funtablayout.SimpleTabAdapter.ViewHolder holder,
int position) |
com.tompee.funtablayout.SimpleTabAdapter.ViewHolder |
onCreateViewHolder(ViewGroup parent,
int viewType) |
void |
setCurrentIndicatorPosition(int indicatorPosition) |
protected void |
setTabVisibleCount(int count) |
protected int mTabPaddingStart
protected int mTabPaddingTop
protected int mTabPaddingEnd
protected int mTabPaddingBottom
protected int mTabTextAppearance
protected int mTabBackgroundResId
protected int mTabIndicatorColor
public int getTabIndicatorHeight()
public com.tompee.funtablayout.SimpleTabAdapter.ViewHolder onCreateViewHolder(ViewGroup parent,
int viewType)
public void onBindViewHolder(com.tompee.funtablayout.SimpleTabAdapter.ViewHolder holder,
int position)
public int getItemCount()
public ViewPager getViewPager()
public int getCurrentIndicatorPosition()
public void setCurrentIndicatorPosition(int indicatorPosition)
protected int getTabVisibleCount()
protected void setTabVisibleCount(int count)
protected int getTabIndicatorColor()