Esempio n. 1
0
        void ContinueNavigation(string uid)
        {
            Console.WriteLine("gggggggggg ContinueNavigation");

            // TODO: display UI in Forms somehow
            System.Console.WriteLine("Show the page for " + uid);

            var restaurantName = "";

            if (uid == "-1")
            {
                restaurantName = SearchModel.Random();
            }
            else
            {
                restaurantName = SearchModel.Lookup(uid.ToString());
            }

            System.Console.WriteLine("which is " + restaurantName);

            MessagingCenter.Send <RestaurantGuide.App, string> (App.Current as RestaurantGuide.App, "show", restaurantName);
        }