Exemplo n.º 1
0
        private void Add_OnTap(object sender, GestureEventArgs e)
        {
            e.Handled = true;
            StockItemHeader viewModel = this.ViewModel;

            if (viewModel == null || this._isActivating)
            {
                return;
            }
            this._isActivating = true;
            StorePurchaseManager.ActivateStickersPack(viewModel, (Action <bool>)(activated => Execute.ExecuteOnUIThread((Action)(() => this._isActivating = false))));
        }
Exemplo n.º 2
0
 public void Activate(StockItemHeader stockItemHeader)
 {
     this.SetProgress(true);
     StorePurchaseManager.ActivateStickersPack(stockItemHeader, (Action <bool>)(activated => this.SetProgress(false)));
 }