Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

I am not able to update data of grid view #51

Open
asatidada opened this issue May 6, 2014 · 2 comments
Open

I am not able to update data of grid view #51

asatidada opened this issue May 6, 2014 · 2 comments

Comments

@asatidada
Copy link

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

@asatidada
Copy link
Author

Please help me i am in trouble i am not able to update view on page

@edward-king-star
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants