public MapViewModel() { StartJourneyCommand = new StartJourneyCommand(this); ChosenLocation = new LocalAddress(); DistanceBorderColor = TimeBorderColor = Color.Black; HandleReceivedMessages(); //Handle service messages notificationManager = DependencyService.Get <INotificationManager>(); //notificationManager.NotificationReceived += (sender, eventArgs) => //{ // var evtData = (NotificationEventArgs)eventArgs; // ShowNotification(evtData.Title, evtData.Message); //}; }
public MapViewModel(LocalAddress chosenLocation) { ChosenLocation = chosenLocation; StartJourneyCommand = new StartJourneyCommand(this); }