public AdvertisementItemService(IAdvertisementItemDbService advertisementItemDbService, ICoordinatesCalculator coordinatesCalculator, IPhotosService photosService, IAppFilesPathHelper appFilesPathHelper, IKeywordsService keywordsService, IChatHubCacheService chatHubCacheService, ILastUsersChecksCacheService lastUsersChecksCacheService, IGoogleMapsAPIService googleMapsAPIService) { this.advertisementItemDbService = advertisementItemDbService; this.coordinatesCalculator = coordinatesCalculator; this.photosService = photosService; this.appFilesPathHelper = appFilesPathHelper; this.keywordsService = keywordsService; this.chatHubCacheService = chatHubCacheService; this.lastUsersChecksCacheService = lastUsersChecksCacheService; this.googleMapsAPIService = googleMapsAPIService; }
public NavigationViewMenu(BaseActivityWithNavigationDrawer activity, SharedPreferencesHelper sharedPreferencesHelper) { this.activity = activity; signInService = new SignInService(); this.bitmapOperationService = new BitmapOperationService(); this.progressDialogHelper = new ProgressDialogHelper(activity); this.sharedPreferencesHelper = sharedPreferencesHelper; this.gpsService = GpsLocationService.GetServiceInstance(activity); this.googleMapsAPIService = new GoogleMapsAPIService(); this.categoriesHelper = new CategoriesSelectingHelper(activity, (string)this.sharedPreferencesHelper.GetSharedPreference <string>(SharedPreferencesKeys.BEARER_TOKEN)); this.sizeSelectingHelper = new SizeSelectingHelper(activity); this.appSettings = SharedPreferencesHelper.GetAppSettings(activity); SetupViews(activity); }