public async Task FinishTransitionAsync()
 {
     //Push the panel type provided and await the transition to complete before allowing transition to finish
     //We do this to make sure the panel has finished showing before finishing transition
     //This allows us to be sure a panel is showing before we drop a curtain
     var controller = provider.Get(panelType);
     await stack.PushAsync(controller);
 }
Beispiel #2
0
        public async void Swap()
        {
            IPanelViewController swapController = controller;

            if (swapController == null)
            {
                swapController = controllerProvider.Get(panelType);
            }
            await swapSystem.ShowAsync(swapController);

            Refresh();
        }
Beispiel #3
0
 public async Task FinishTransitionAsync()
 {
     var controller = provider.Get(panelType);
     await stack.PushAsync(controller);
 }