在滚动内滚动的 listView 是一个好习惯吗?
对于列表视图中的某些项目,使用另一个滚动滚动的列表视图是一个好习惯吗? (在卷轴内滚动)。
根据用户体验,你对此有何看法?我没有在真实设备上进行测试。 有没有任何应用程序遵循同样的事情?
编辑
我不问如何。我已经讨厌了!但我问是否建议将 v-scroll 放在另一个 v-scroll 中?
Is it a Good practice to have a list view with scrolling with another scroll for some items inside the listview ? (scroll inside a scroll) .
What do you think about that according UX. I didn't test it on a real device.
Does there any application follow the same thing ?
edit
I don't ask how. I already hate it ! But I ask whether it is advisable to have v-scroll inside another v-scroll ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果内部元素的滚动与列表视图一样是垂直的,则您无法拥有它。
但是您可以将 HorizontalScrollView 作为列表视图的子视图。希望这有帮助..
In case the scrolling of the inside elements is vertical as the listview you can't have it.
But you can have a HorizontalScrollView as child of your listview. Hope this helps..
我认为大多数时候不鼓励将
listview
放入scrollview
中,因为这两个组件都能够处理滚动。允许在
listview
中水平滚动会带来奇怪的用户体验,所以我不确定它是否可取。I think putting a
listview
inside ascrollview
is discouraged most of the time because both component are able to handle scrolling.Allowing horizontal scrolling in a
listview
gives a weird user experience so i'm not sure it is advisable anyway.您可以在垂直滚动内拥有可滚动的 listView。使用以下代码并享受吧!
listViewTouchAction 是一个全局整数值。
You can have scrollable listView inside of a vertical scroll. use the following code and enjoy!
listViewTouchAction is a global integer value.