public EventDetailsPage(Sensor i_StreamingSensor) : this() { Task.Factory.StartNew(() => { landscapeEventDetailsPage = new LandscapeEventDetailsPage(i_StreamingSensor); landscapeEventDetailsPage.RaiseContentViewUpdateEvent += eventsRouter; }); eventDetailsViewModel = new EventDetailsViewModel(i_StreamingSensor); eventDetailsViewModel.EventsRouter += eventsRouter; initOrientationState(); }
public EventDetailsPage(EventModel i_EventModel) : this() { Task.Factory.StartNew(() => { landscapeEventDetailsPage = new LandscapeEventDetailsPage(i_EventModel); landscapeEventDetailsPage.RaiseContentViewUpdateEvent += eventsRouter; }); eventDetailsViewModel = new EventDetailsViewModel(i_EventModel, true); eventDetailsViewModel.EventsRouter += eventsRouter; initOrientationState(); }