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
Post a Comment