在Android中,包裹在ScrollView
中的FlatList
默认是不可以滑动的,所以,需要在FlatList
组件中添加属性nestedScrollEnabled = {true}
来使FlatList
可滑动。
不过官方好像是不推荐在ScrollView
中包裹同方向滑动的FlatList
的。
在Android中,包裹在ScrollView
中的FlatList
默认是不可以滑动的,所以,需要在FlatList
组件中添加属性nestedScrollEnabled = {true}
来使FlatList
可滑动。
不过官方好像是不推荐在ScrollView
中包裹同方向滑动的FlatList
的。