onSwiping gives x,y values but when horizontalSwipe or verticalSwipe is false x or y value will be zero. So, to get swipe direction when horizontalSwipe or verticalSwipe is false I have created a function which returns dx and dy from gestureState in onPanResponderMove.
onSwiping gives x,y values but when horizontalSwipe or verticalSwipe is false x or y value will be zero. So, to get swipe direction when horizontalSwipe or verticalSwipe is false I have created a function which returns dx and dy from gestureState in onPanResponderMove.