Use a FragmentStateAdapter
Implement a FragmentStateAdapter; this allows you to display different fragments on each of the pages of your ViewPager.
Implement a FragmentStateAdapter; this allows you to display different fragments on each of the pages of your ViewPager.
Comments