I am trying to use custom tabs for my ViewPager2 via the TabLayout.Tab.setCustomView method. But it doesn\'t work.
ViewPager2
TabLayout.Tab.setCustomView
Here is a code snippet fr