I am facing the issue while using girdView that while creating a simple gallery app, when i scroll down and open an image and back to previous activity there are two behaviour: 1- if i had written onPressBack function, it reload the girdView and it start from start even if i were on last Image 2- if i don't write onPressBack function, it back to current position but if delete the image, the image remain in the gird... this is the whole issue i am new in android your help will be great favour thanks
Asked
Active
Viewed 19 times
0
-
Hi , can you shared the code ? it will help more to understand what is wrong ,Thanks in advance ! – Nisarg Jani Jun 12 '21 at 15:11
1 Answers
0
I would suggest to go for RecyclerView with Gridview manager, try this Android, can i update Grid view without using notifyDataSetChanged?

Brendon
- 1,368
- 1
- 12
- 28