Just started learning React Native and running into some basic issues. I am using the React-native-draggable component, and I would like to use the position of the element to update the state of my current scene.
<Draggable renderColor='white' offsetX={0} renderSize={48} reverse={false} pressDragRelease={PASS X,Y POSITION TO A FUNCTION HERE?}>
For the life of me I can not get this to work; I really just want to get the x and y position of the Draggable element that is released, and use that in this.setState( ... ). I've tried binding, but really I'm a complete beginner and don't even know where to look right now. Any pointers would be greatly appreciated.