TabLayout默认某个选项卡选中

1,113 阅读1分钟

tabLayout.getTabAt(postision).select(); //默认选中某项放在加载viewpager之后