Open asatidada opened 10 years ago
Please help me i am in trouble i am not able to update view on page
I have the same problem when trying to update data set of the grid. Actually the "notifyDataSetChange" function just adds the items if it finds new item.
When i fist time set adapter in gridview object but when i update it with notifyDataSetChange gridveiw data not update
I remove by removeAllView so all view gone and not set again by adapter gridview.removeAllViews(); customSpinneradapter.notifyDataSetChanged(); gridview.notifyDataSetChanged(); adapter.notifyAll(); This update and increse the no of view if it have more view then previous but not decrese if have less and also not change the data of any view