I’ve searched online for solutions but haven’t found a clear example or tutorial that fits my requirements. Can someone provide guidance on how to achieve this? Any libraries or approaches that can simplify the implementation would be greatly appreciated.
I need to implement drag and drop functionality between two FlatLists. Specifically, I have two FlatLists displaying different sets of items, and I want the user to be able to drag an item from one FlatList and drop it into the other.
2
Answers
You can use React Native Draggable FlatList
Install with npm :
or with yarn:
and use by importing:
Example:
for more details: Visit documentation
You can use React Native DraxList and DraxView also GestureHandlerRootView Install with npm :
Example: