react-native-draggable-flatlist
react-native-draggable-flatlist copied to clipboard
Android when drag and move down sometime will trigger flatlist refresh
Android when drag and move down sometime will trigger flatlist refresh
@yuanaichi Implement https://github.com/computerjazz/react-native-draggable-flatlist/issues/135#issuecomment-755432714 To prevent both pull-to-refresh and dragging of an item, when the item was the first one. I added a state that keeps track of whether im dragging anything. that is toggled by onDragBegin / onDragEnd. This is used to toggle the RrefreshControls enabled prop.