예제 #1
0
        public LocationService()
        {
            locator = CrossGeolocator.Current;
            locator.DesiredAccuracy = 75;

            maps = CrossExternalMaps.Current;
        }
        public CaseDetailsPageViewModel(INavigationService navigationService, IApplicationState applicationState, IPhoneCallTask phoneCallTask, IPageDialogService pageDialogService, IExternalMaps externalMaps) : base(applicationState)
        {
            _navigationService = navigationService;
            _phoneCallTask     = phoneCallTask;
            _pageDialogService = pageDialogService;
            _externalMaps      = externalMaps;

            ViewInsuranceAndAuthorizations = new DelegateCommand(() => OnViewInsuranceAndAuthorizations().IgnoreResult());
            InformationListCommand         = new DelegateCommand <DisplayInformation>((displayInformation) => OnInformationListCommand(displayInformation).IgnoreResult());
        }