set Tabs From Pager Adapter
Deprecated
Use setupWithViewPager to link a TabLayout with a ViewPager together. When that method is used, the TabLayout will be automatically updated when the PagerAdapter is changed.
Use setupWithViewPager to link a TabLayout with a ViewPager together. When that method is used, the TabLayout will be automatically updated when the PagerAdapter is changed.