ScrollView嵌套ListView解决滑动冲突是自定义了listView去测量listView高度,而recycerView嵌套在scrollView中需要重写layo...
ScrollView嵌套ListView解决滑动冲突是自定义了listView去测量listView高度,而recycerView嵌套在scrollView中需要重写layo...
@JC_Hou 嗯嗯 解决了我的问题 开心~~~
解决recyclerView和ScrollView滑动冲突ScrollView嵌套ListView解决滑动冲突是自定义了listView去测量listView高度,而recycerView嵌套在scrollView中需要重写layo...
@JC_Hou scrollview里面只有一个view(recyclerview)的时候就没问题,有两个View(recyclerview+textview)就出问题了
解决recyclerView和ScrollView滑动冲突ScrollView嵌套ListView解决滑动冲突是自定义了listView去测量listView高度,而recycerView嵌套在scrollView中需要重写layo...
我在ScrollView里面嵌套了一个RecyclerView,RecyclerView设置的是GridLayoutManager,这样就没问题。但是我在ScrollView里面嵌套了一个RecyclerView+一个TestView就出问题了,app has stopped。求楼主解答 把GridLayoutManager重写了还是app has stopped,在recyclerview外层套一层relativelayout,然后给relativelayout加上android:descendantFocusability="blocksDescendants"也还是会stopped 希望楼主救救孩子~~~
解决recyclerView和ScrollView滑动冲突ScrollView嵌套ListView解决滑动冲突是自定义了listView去测量listView高度,而recycerView嵌套在scrollView中需要重写layo...