public MainViewModel( ISchedulerProvider schedulerProvider, IGeocodingProvider geocodingProvider, ILocationManager locationManager, ITripLocationViewModel tripLocationViewModel) { _schedulerProvider = schedulerProvider; _geocodingProvider = geocodingProvider; _locationManager = locationManager; TripLocationViewModel = tripLocationViewModel; MyLocationChanged = locationManager.LocationChanged; }
public IBaseLocationEditorViewModel GetDestinationLocationEditorViewModel(ITripLocationViewModel tripLocationViewModel) { return(Locator.ResolveNamed <IBaseLocationEditorViewModel>(ViewModelKeys.DestinationSearch, new NamedParameter(nameof(tripLocationViewModel), tripLocationViewModel))); }