Here ViewPager2 have been implemented with bottom navigation and tab layout. So, that you can use any of them following as per your need
benjaminacre / viewpager-with-bottomnavbar-and-tablayout Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fakhrulasa/viewpager-with-bottomnavbar-and-tablayout
Here ViewPager2 have been implemented with bottom navigation and tab layout. So, that you can use any of them following as per your need