Horizontal pager vs. vertical pager. How do we apply?… here is a solution to the problem.
Horizontal pager vs. vertical pager. How do we apply?
If anyone has an answer to this question, please comment on me.
So please check these two items. I only want to implement both in one class so that I can roll both sides with just one class.
Solution
I
know the Horizontal Pager class supports vertical scrolling, so I believe you can nest them. Add code in the Horizontal Paging class that can detect Vertical Paging.
Or,
You can add a ScrollView to each child of a ViewGroup in a horizontal pager.