app/src/main/java/com/example/android/quakereport/EarthquakeLoader.java
@Override
    public List<Earthquake> loadInBackground() {
        // TODO: Implement this method
        Log.i(LOG_TAG, "loadInBackground() callback ----------------------------------------");
        if (mUrl == null) {
            return null;
        }
        // Perform the network request, parse the response, and extract a list of earthquakes.
        List<Earthquake> earthquakesList = QueryUtils.fetchEarthquakeData(mUrl);
        return earthquakesList;
    }
/**
     * This is on a background thread.
     */
This is on a background thread.
This is on a background thread .
@Override
    public List<Earthquake> loadInBackground() {
        Log.i(LOG_TAG, "loadInBackground() callback ----------------------------------------");
        if (mUrl == null) {
            return null;
        }
        List<Earthquake> earthquakesList = QueryUtils.fetchEarthquakeData(mUrl);
        return earthquakesList;
    }
@ Override public List < Earthquake > loadInBackground ( ) { Log . i ( LOG_TAG , "loadInBackground() callback ----------------------------------------" ) ; if ( mUrl == null ) { return null ; } List < Earthquake > earthquakesList = QueryUtils . fetchEarthquakeData ( mUrl ) ; return earthquakesList ; }
This is on a background thread.
This is on a background thread .
// TODO: Implement this method // Perform the network request, parse the response, and extract a list of earthquakes.