Esempio n. 1
0
        private async void GoToCito(object sender, EventArgs e)
        {
            var stopwatch = new Stopwatch();

            stopwatch.Start();
            await CitoNavigation.PushPage(new ThirdPage());

            stopwatch.Stop();
            Debug.WriteLine("Cito navigation: " + stopwatch.ElapsedMilliseconds);
        }
Esempio n. 2
0
 protected virtual async void BackTapped(object sender, EventArgs e)
 {
     await CitoNavigation.PopPage();
 }
Esempio n. 3
0
 protected override bool OnBackButtonPressed()
 {
     Task.Run(async() => await CitoNavigation.PopPage()).Wait();
     return(true);
 }
Esempio n. 4
0
 private async void Button_OnClicked(object sender, EventArgs e)
 {
     await CitoNavigation.PushPage(new Framework.Navigation.SecondPage());
 }