Closed cyixlq closed 6 years ago
我用swipeout组件嵌套在列表项最外层,当FlatList列表加载完成的时候,右侧隐藏按钮立刻执行了所有的onPress事件,如图:
OK, I know. It's settled.
You can't write like this. You should write like this: onPress={() => method()}
Thank you very much!
我用swipeout组件嵌套在列表项最外层,当FlatList列表加载完成的时候,右侧隐藏按钮立刻执行了所有的onPress事件,如图: