async void OnNavigateButtonClicked (object sender, EventArgs e)
		{
			var contact = new Contact {
				Name = "Jane Doe",
				Age = 30,
				Occupation = "Developer",
				Country = "USA"
			};

			var secondPage = new SecondPage ();
			secondPage.BindingContext = contact;
			await Navigation.PushAsync (secondPage);
		}
Пример #2
0
        async void OnNavigateButtonClicked(object sender, EventArgs e)
        {
            var contact = new Contact {
                Name       = "Jane Doe",
                Age        = 30,
                Occupation = "Developer",
                Country    = "USA"
            };

            var secondPage = new SecondPage();

            secondPage.BindingContext = contact;
            await Navigation.PushAsync(secondPage);
        }