Solution 1: You need to use this TabLayoutMediator which emulates tabLayout.setupWithViewPager() and configure ViewPager2 with the tab layout.
確定! 回上一頁