If any one has answer for this question please comment me.
So please check this two projects. I just want to implement both in only one class so I can scroll both side with only one class.
I know for a fact that the Horizontal Pager class supports Vertical scrolling, so I believe you can nest them. Add code to the Horizontal Paging class that can detect Vertical Paging.
Or,
you could add a ScrollView to every child from the ViewGroup inside the Horizontal Pager.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.