private void ShowMap() { // Launches a new instance of CallHistoryController MapViewController mapView = this.Storyboard.InstantiateViewController("MapViewController") as MapViewController; if (mapView != null) { mapView.NavigationItem.SetHidesBackButton(true, false); this.NavController.PushViewController(mapView, false); var menuController = (MyMenuController)Storyboard.InstantiateViewController("MyMenuController"); SidebarController.ChangeMenuView(menuController); SidebarController.MenuWidth = 250; SidebarController.ReopenOnRotate = false; } }
public ConsumptionSource(List <ConsumptionModel> consumptionModels, MapViewController dashboard) { _consumptionModels = consumptionModels; _dashboard = dashboard; }