Ejemplo n.º 1
0
		async void OnProfileSelected()
		{
			if(App.Instance.CurrentAthlete == null || App.Instance.CurrentAthlete.Id == null)
				return;

			var page = new AthleteProfilePage(App.Instance.CurrentAthlete.Id);
			page.OnSave = async () => await Navigation.PopModalAsync();
			await Navigation.PushModalAsync(page.WithinNavigationPage());
		}
Ejemplo n.º 2
0
        async void OnProfileSelected()
        {
            if (App.Instance.CurrentAthlete == null || App.Instance.CurrentAthlete.Id == null)
            {
                return;
            }

            var page = new AthleteProfilePage(App.Instance.CurrentAthlete.Id);

            page.OnSave = async() => await Navigation.PopModalAsync();

            var nav = new ThemedNavigationPage(page);
            await Navigation.PushModalAsync(nav);
        }