机器人:列表视图内滚动视图无法正常工作?视图、无法正常、机器人、列表

2023-09-13 02:05:33 作者:爱或不爱i

我有一个列表视图滚动视图,但问题是,滚动型在滚动,但列表视图不滚动。我认为这是由于滚动视图

I am having a listview inside a scrollview, but the problem is that the scrollview is scrolling but listview is not scrolling. I think this is due to that scrollView.

有人可以谁拥有一个可行的解决方案张贴在这里作为参考?

Can somebody who has a working solution post it here as reference?

推荐答案

如果你把你的ListView /滚动视图中的任何可滚动视图将无法正常工作,因为当你触摸屏幕,你淡淡的主要焦点是父视图(滚动视图)没有子视图(ListView控件)。

If you put your ListView/any scrollable View inside the scrollView it will not work properly because when you touch the screen ,main focus of your touch is on parent view(scrollView ) not the child View (ListView).

 
精彩推荐
图片推荐