Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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);
        }