How can i refresh the GridView inside a fragment of a view pager?
- I have already tried using
adapter.notifyDatasetChanged(), but that's not working . - I want to delete the elements from
gridViewand refresh the grid view. - I am removing the elements from the
arrayListandgridvIew.getCount()shows decreased values but it shows the deleted values in grid view , How can I update/refresh thegridView?
The layout of fragement is dynamically created so no fragemt tag to findfragement by id.