//navigating with these cause the popup layout to not show public Command NavPageA => new Command(async () => await NavigationService.NavigateAsync("/MenuPage/NavigationPage/PageA")); public Command NavPageB => new Command(async () => await NavigationService.NavigateAsync("/MenuPage/NavigationPage/PageB")); //navigating with these will show the popup layout/busy indicator //for this to work, need to comment the ToggleMenuCommand in each page. //public Command NavPageA => new Command(async () => await NavigationService.NavigateAsync("PageA")); //public Command NavPageB => new Command(async () => await NavigationService.NavigateAsync("PageB"));
|
public Command NavPageA => new Command(async () => await NavigationService.NavigateAsync("PageA")); public Command NavPageB => new Command(async () => await NavigationService.NavigateAsync("PageB"));
|
|
public override async void OnNavigatedTo(INavigationParameters parameters)
{ base.OnNavigatedTo(parameters); Device.BeginInvokeOnMainThread(() =>
{ ShowBusy = true; }); await Task.Delay(5000);
Device.BeginInvokeOnMainThread(() => { ShowBusy = false; }); } |
|
public override async void OnNavigatedTo(INavigationParameters parameters)
{ base.OnNavigatedTo(parameters); await Task.Delay(10);
ShowBusy = true; await Task.Delay(5000); ShowBusy = false; } |