componentWillMount

()

this

_panResponder

PanResponder

create

({

onMoveShouldSetPanResponder

event

gestureState

=>

!!

getDirection

gestureState

),

onPanResponderMove

event

gestureState

=>

true

onPanResponderRelease

event

gestureState

=>

const

drag

getDirection

gestureState

);

},

onPanResponderTerminationRequest

event

gestureState

=>

true

});