ScrollView 中嵌套有ListView时候,在页面切换 的时候,可能会出现 因listview 数据加载 而 导致 该页面展示的位置为 该listview区域。
解决方案:可在ScrollView中也就是ListView的父容器中添加 :
android:descendantFocusability=“blocksDescendants”
来源:CSDN
作者:awodefengduanwu
链接:https://blog.csdn.net/awodefengduanwu/article/details/104836980