Behavior of GridView in Android -


i having gridview , added more 50 images on , performing delete operation on them.

i observe images deleting,they leaving blank space top, means other images not taking place ugly.

i want deleting image space should covered other images in grid.

thanks.

code

if(v.getid() == r.id.delete_button)         {             adp.list.removeall(bitmaplist);             adp.notifydatasetchanged();             bitmaplist.clear();             grid.clearchoices();            } 

after every image delete try reload grid view calling notifydatasetchanged on adapter link


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -