How to rotate an Image on touch and Drag image over another Image
问题 I'm developing an app where I need a gallery which will have many images. And what I want to do is when user Tap/click on any image it should rotate that image to 90 degree, And if user drag any image to the top of any other image then those images should switch their places (or we can say swap places with each other). Explanation: A B C D E F Suppose above is the images of my gallery so if user drag image A on top of image E then gallery should look like this E B C D A F I'm using