// Set<Campaign> set = new LinkedHashSet<>(campaignLoyaltyList);
// campaignLoyaltyList.clear();
// campaignLoyaltyList.addAll(set);
// executorShops.shutdownNow();
// new Handler(Looper.getMainLooper()).post(() -> receiver.onSuccess(campaignLoyaltyList));//resultPersonalized
// });
// }
//
// @Override
// public void onFailure(int errorCode) {
// receiver.onFailure(errorCode);
// }
// } catch (Exception exception) {
// campaignLoyaltyList.add(camp);
// });
// }
//
// @Override
// public void onFailure(int errorCode) {
// receiver.onFailure(errorCode);
// }
// });
}
privatestatic/*void*/ListenableFuture<ArrayList<Campaign>>getCampaignsRetro(ApiServiceservice/*, final CallbackReceiver<ArrayList<Campaign>> receiver*/){
privatestatic/*void*/ListenableFuture<ArrayList<Campaign>>getCampaignsPersonalizedRetro(ApiServiceservice/*, final CallbackReceiver<ArrayList<Campaign>> receiver*/){