[英]horizontal pager with vertical pager. How can we apply?
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.
将代码添加到可以检测垂直分页的Horizontal Paging类中。
Or, 要么,
you could add a ScrollView to every child from the ViewGroup inside the Horizontal Pager. 您可以将ScrollView添加到Horizontal Pager内ViewGroup的每个子节点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.