Populate listview after the addition of database
问题 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 fragment. My fragment shows nothing after adding database. public class GridFragment extends Fragment { Context mContext; GridView gridd; GridAdapter adapter; MagazineGetIssues mgi; ArrayList<DataVal> Issues = new ArrayList<>(); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);