用的ListView ViewPagers [英] ListView with ViewPagers

查看:179
本文介绍了用的ListView ViewPagers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

林有我的UI麻烦。
它包含一个ListView,与ViewPagers列表项。
问题是,在水平滚动似乎得到由在ListView中断(捕捉垂直滚动)。
我想要实现的是,无论发生什么事情,水平滚动完成所有的时间。现在他们的某个时候半途而废。

Im having trouble with my UI. It contains a ListView , with ViewPagers as List Items. The problem is that the horizontal scrolls seem to get interrupted by the ListView (catching vertical scrolls). What i want to achieve is that no matter what happens, the horizontal scrolls finish all the time. Right now they stop half way sometime.

这可能是一个普遍的问题,但我还没有找到一个解决办法。
我试图拦截在列表视图水平滚动,但是我虽然可以拦截,但还是引起了刷卡停车。

this is probably a common problem, but i havent found a solution yet. I've tried to intercept horizontal scrolls on the the listview, but although I can intercept, it still causes the swipe to stop.

任何人都可以点我在正确的方向?

can anyone point me in the right direction ?

推荐答案

ViewPagers不与列表视图兼容。
抱歉。
ViewPager的ListView

ViewPagers are not compatible with ListViews. Sorry. ViewPager inside ListView

这篇关于用的ListView ViewPagers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆