I am trying to generate a simple test application. The aim is to touch an image and move it on the screen.
The problem is, in the first time, the image animates just as expected. But when aimed to start second animation with the gesture, the image translation starts from its original coordinates. (The box jumps back to original coordinates and start second animation from that point.)
My question is, how to set the location (left / top values for example) to the final translated point so that consecutive animation starts from the point the previous translation left.
I am trying to generate a simple test application. The aim is to touch an image and move it on the screen.
The problem is, in the first time, the image animates just as expected. But when aimed to start second animation with the gesture, the image translation starts from its original coordinates. (The box jumps back to original coordinates and start second animation from that point.)
My question is, how to set the location (left / top values for example) to the final translated point so that consecutive animation starts from the point the previous translation left.
The expo snack for below code block is here.
The sample code: