react-native-sortable-grid
react-native-sortable-grid copied to clipboard
Sort items based on priority
I want to sort items based on priority and priority can be set on Tap or Drag. is this possible?
Just order your array before rendering it at the SortableGrid by a new dimension of your array ie: priority, then implement the method to change the priority onDragRelease with the parameter that the function returns (itemOrder in the example of the vendor)
@DanielMartini Thanks I will try it.