I have a grid with images filled from a list. when I remove an image from the list, I want the grid view to be updated. Tell me how to do it.
I tried to invalidate () the gridview, notify the image adapter that changed the data set (adapter.notifyDataSetChanged ();). but it does not give the desired results.
after that I get an empty place where the image was previously deleted.
source
share