1

我有几个问题:

在反应原生

1) 我们是否对 Flatlist/SectionList 中的项目进行了默认重新排序,就像我们在 iOS“moveRowAt sourceIndexPath:”方法中对 UITableview 所做的那样。

2)如果上述问题的答案是“否”,您能否建议我如何在本机反应中实现重新排序。

我试过下面的包,但它并不顺利。 https://www.npmjs.com/package/react-native-draggable-flatlist

我遇到了这个https://github.com/deanmcpherson/react-native-sortable-listview但由于 listview 已被弃用,因此不能这样做。

4

0 回答 0