You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what wrong with the problem?
`mSubaeraTablayout.setTitles(array);
// mSubaeraTablayout.setStripColor(Color.RED);
mSubaeraTablayout.setTabIndex(curZoneChannelPos, true);
mSubaeraTablayout.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {
@Override public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
//not worked!
ToastUtil.showShortToast("position"+position);
}
@Override public void onPageSelected(int position) {
ToastUtil.showShortToast("position"+position);
}
@Override public void onPageScrollStateChanged(int state) {
ToastUtil.showShortToast("position"+state);
}
});`
The text was updated successfully, but these errors were encountered:
```
mSubaeraTablayout.setOnTabStripSelectedIndexListener(new
mSubaeraTablayout.OnTabStripSelectedIndexListener() {
@Override
public void onStartTabSelected(String title, int index) {
T oastUtil.showShortToast("position"+index);
}
@Override
public void onEndTabSelected(String title, int index) {
}
});
what wrong with the problem?
`mSubaeraTablayout.setTitles(array);
// mSubaeraTablayout.setStripColor(Color.RED);
mSubaeraTablayout.setTabIndex(curZoneChannelPos, true);
The text was updated successfully, but these errors were encountered: