Open nadar71 opened 4 years ago
Loader must be replaced with a call to repository method for fetching remote data, using coroutine Like in initializeData() in EarthquakeRepository
Chenge in retrieveRemoteData -> call coroutine here on fetchEarthquakeData (now in EarthquakeAsyncLoader.loadInBackground ) and set result like now in onLoadFinished
Loader must be replaced with a call to repository method for fetching remote data, using coroutine Like in initializeData() in EarthquakeRepository