I have an app which displays data in a fragment(uses webservice). After login, fragment fetches data from json and add to database, after that I want to populate it in my fragme
You have to add one method in BaseAdapter for update new data:
ArrayList issueList = null;
Set new method setUpdatedData to assign your new Arraylist of data
public void setUpdatedData(ArrayList newData){
this.issueList = newData;
}
After set new data you have to call notifyDataSetChanged();
adapter.notifyDataSetChanged();
Done