Chapter 7 Earthquake viewer - Double Entries
When my app returns from the preferences screen and re-populates I get two of each earthquake in the list. I figure this is because EarthquakeListFragment.refreshEarthquakes() is being called twise; once from EarthquakeListFragment.onActivityCreated() and the other from Earthquake.onActivityResult().
Has anyone come accross this issue before?
I assume the EarthquakeListFragment.onActivityCreated() should not be called at this point so am wondering what I may have done wrong to cause this.