简体   繁体   English

ScrollView内部无尽的ListView

[英]Endless ListView inside ScrollView

I want to add endless listView inside ScrollView but on ScrollChanged does not work 我想在ScrollView中添加无尽的listView,但是在ScrollChanged上不起作用

<ScrollView ..>
<EndlessListView ../>
</ScrollView>

Is there any way to do that? 有什么办法吗?

If you want to put a listview in a scrollview, you have to re-implement a passive listview that does not handle its scroll. 如果要将列表视图放在滚动视图中,则必须重新实现不处理其滚动的被动列表视图。
You'll have to check for children size and visibility, and do the recycling stuff yourself. 您必须检查孩子的大小和可见度,并自己做回收材料。

I did it, it is possible, but you should not go this way. 我做到了,有可能,但是您不应该这样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM