@Override protected ArrayList<Deal> doInBackground(Void... params) { String url = getString(R.string.api_url) + getString(R.string.deals_uri); DealService service = new DealService(); ArrayList<Deal> deals = service.getDeals(url, vehicle.getId(), authToken); return deals; }