我有一个列表视图
在滚动视图
,但问题是,滚动型
在滚动,但列表视图
不滚动。我认为这是由于滚动视图
。
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).