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); }
public async void Swap() { IPanelViewController swapController = controller; if (swapController == null) { swapController = controllerProvider.Get(panelType); } await swapSystem.ShowAsync(swapController); Refresh(); }
public async Task FinishTransitionAsync() { var controller = provider.Get(panelType); await stack.PushAsync(controller); }