I have an ImagePreviewActivity for preview the images that upload from gallery as well as captured image.In this activity itself showing a recylerview having the all images,onclick of that item i need to preview that image in that activity itself
I have an ImagePreviewActivity for preview the images that upload from gallery as well as captured image.In this activity itself showing a recylerview having the all images,onclick of that item i need to preview that image in that activity itself
You can follow this step
In ImagePreviewActivity xml
Another approach, you can create fragment and swap the two fragment.