예제 #1
0
        public MainStepsPage()
        {
            Title = "Pick a Category";

            // Define command for the items in the TableView.
            navigateCommand =
                new Command <Steps> (async(Steps step) => {
                Debug.WriteLine("navigate to StepPage for step:" + step);
                Page page = new StepPage(step);
                await this.Navigation.PushAsync(page);
            });

            RenderTable();
        }
예제 #2
0
        public MainStepsPage()
        {
            Title = "Pick a Category";

            // Define command for the items in the TableView.
            navigateCommand =
                new Command<Steps> (async (Steps step) => {
                    Debug.WriteLine ("navigate to StepPage for step:" + step);
                    Page page = new StepPage (step);
                    await this.Navigation.PushAsync (page);
                });

            RenderTable ();
        }