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