public class PopTabAdapter
extends <any>
| Modifier and Type | Class and Description |
|---|---|
static class |
com.tompee.funtablayout.BaseAdapter.BaseBuilder |
static class |
PopTabAdapter.Builder |
static interface |
PopTabAdapter.IconFetcher |
| 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 |
| Constructor and Description |
|---|
PopTabAdapter(PopTabAdapter.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentIndicatorPosition() |
int |
getItemCount() |
protected int |
getTabIndicatorColor() |
protected int |
getTabIndicatorHeight() |
protected int |
getTabVisibleCount() |
ViewPager |
getViewPager() |
void |
onBindViewHolder(com.tompee.funtablayout.PopTabAdapter.ViewHolder holder,
int position) |
com.tompee.funtablayout.PopTabAdapter.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 PopTabAdapter(PopTabAdapter.Builder builder)
protected int getTabIndicatorHeight()
public com.tompee.funtablayout.PopTabAdapter.ViewHolder onCreateViewHolder(ViewGroup parent,
int viewType)
public void onBindViewHolder(com.tompee.funtablayout.PopTabAdapter.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()