ViewPager has a sliding effect by default. If you need to disable it, you need to inherit ViewPager and rewrite several touch-related methods to return true. So the first problem can be solved by customizing ViewPager. I’m not sure about the second and third questions, because I haven’t found out how to control the speed of Smooth sliding, so I can’t say yet, but I guess it’s not supported. The fourth question, no, the ViewPager will slide to a certain page and will not stay somewhere between the two pages.
ViewPager has a sliding effect by default. If you need to disable it, you need to inherit ViewPager and rewrite several touch-related methods to return true. So the first problem can be solved by customizing ViewPager.
I’m not sure about the second and third questions, because I haven’t found out how to control the speed of Smooth sliding, so I can’t say yet, but I guess it’s not supported.
The fourth question, no, the ViewPager will slide to a certain page and will not stay somewhere between the two pages.