📅  最后修改于: 2022-03-11 14:52:40.213000             🧑  作者: Mango
void selectPage(int pageIndex){
tabLayout.setScrollPosition(pageIndex,0f,true);
viewPager.setCurrentItem(pageIndex);
}