public NewRacePage() { InitializeComponent(); _qrCodeResultParser = DependencyService.Get <IParseQrCodeResultService>(); _raceVenturaApiClient = DependencyService.Get <IRaceVenturaApiClient>(); _dataStore = DependencyService.Get <IDataStore <Race> >(); }
public RaceDetailPage(RaceDetailViewModel viewModel) { InitializeComponent(); BindingContext = this.viewModel = viewModel; _qrCodeResultParser = DependencyService.Get <IParseQrCodeResultService>(); _raceVenturaApiClient = DependencyService.Get <IRaceVenturaApiClient>(); _locationService = DependencyService.Get <ILocationService>(); }