If we compare implementation for ViewPager and ViewPager2 there a difference. ViewPager2 adapter destroy the controller when we push another controller on top of it and when we go back to the previous screen the ViewPager2 create a controller from scratch
If we compare implementation for ViewPager and ViewPager2 there a difference. ViewPager2 adapter destroy the controller when we push another controller on top of it and when we go back to the previous screen the ViewPager2 create a controller from scratch