public NearestView(Position position, PlacePage page) { InitializeComponent(); this.placePage = page; closeButton.Clicked += CloseButton_Clicked; portListView.Refreshing += PortListView_Refreshing; portListView.ItemTapped += PortListView_ItemTapped; this.position = position; GetData(); }
void NaviEntry_Focused(object sender, FocusEventArgs e) { if (sender == soureEntry) { isFocusSource = true; } else if (sender == destinationEntry) { isFocusDest = true; } routeListView.IsVisible = false; closeRouteListViewButton.IsVisible = false; //portListPage = new PortListPage(true); //Navigation.PushAsync(portListPage); placePage = new PlacePage(); Navigation.PushAsync(placePage); }