CalculateAverageFuelPriceInput { GasStationRepository mGasStationRepository; @Override public void calculateAveragePrice(final FuelType pFuelType) { mGasStationRepository.loadGasStations(pFuelType, new GasStationsLoadedListener() { // .. Code that calculates the average price } } UI Data sources Presenters Repositories Entities Use cases