예제 #1
0
        private async Task HidePurchaseForm()
        {
            NavFrame.IsEnabled = true;
            await _purchaseView.PlayExitTransition();

            _purchaseView          = null;
            OverlayContainer.Child = null;
        }
예제 #2
0
 private void OverlayProvider_ShowPurchaseFormRequested(IOverlayProvider source, bool compactMode)
 {
     NavFrame.IsEnabled = false;
     if (compactMode)
     {
         _purchaseView = new CompactPurchaseView(new PurchaseViewModel(ViewModel.OverlayProvider));
     }
     else
     {
         _purchaseView = new PurchaseView(new PurchaseViewModel(ViewModel.OverlayProvider));
     }
     OverlayContainer.Child = _purchaseView;
 }