@Override public void onAddEditCompleted(String city, String state, boolean home_boolean) { DatabaseDriver databaseDriver = new DatabaseDriver(this); databaseDriver.insertLocation(city, state, home_boolean); databaseDriver.close(); weatherList.updateLocationList(); }
@Override public void onDeleteLocation() { FragmentManager fm = getFragmentManager(); if (fm.getBackStackEntryCount() != 0) { fm.popBackStack(); } weatherList.updateLocationList(); }