You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: