Hello guys,
I am having a problem with viewPager in my application I am trying to develop. I am taking a photo with the camera and setting it as a preview in an imageView. The user has the option to delete the preview by long pressing on it. The problem is that when I swipe to the right (lets say 4 times) and try to delete the photo, the 3-rd photo will be deleted, not the actual one.
Any help would be appreciated.
Thank you in advance.
I am having a problem with viewPager in my application I am trying to develop. I am taking a photo with the camera and setting it as a preview in an imageView. The user has the option to delete the preview by long pressing on it. The problem is that when I swipe to the right (lets say 4 times) and try to delete the photo, the 3-rd photo will be deleted, not the actual one.
Any help would be appreciated.
Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire