description
ViewPager2+Fragment structure, the Fragment layout ScrollView has a Banner carousel control. When the top of the ScrollView slides out of the screen, the top of the ScrollView returns to the 0 position when the carousel switches.
Solution
There seems to be no good solution, many Banner libraries in this structure will cause the ScrollView automatic sliding problem. The problem of replacing ViewPager2 with ViewPager disappears.