Example #1
0
        public void OpenPricepoints(XsollaPricepoints pricepoints)
        {
            GridView           gridView = GetComponentInChildren <GridView> ();
            PricePointsAdapter adapter  = GetComponentInChildren <PricePointsAdapter>();

            adapter.SetManager(pricepoints);
            adapter.OnBuyPricepoints += (outAmount) => {
                Dictionary <string, object> map = new Dictionary <string, object> (1);
                map.Add("out", outAmount);
                //				StartPayment (map);
                OpenPaymentMethods(map);
            };
            gridView.SetAdapter(adapter, 3);
            Resizer.ResizeToParrent(gameObject);
        }
Example #2
0
 protected override void ShowPricepoints(XsollaUtils utils, XsollaPricepoints pricepoints)
 {
     Logger.Log("Pricepoints recived");
     OpenPricepoints(utils, pricepoints);
     SetLoading(false);
 }
Example #3
0
 public void OpenPricepoints(XsollaUtils utils, XsollaPricepoints pricepoints)
 {
     InitShopScreen();
     _shopViewController.OpenPricepoints(utils.GetTranslations().Get(XsollaTranslations.PRICEPOINT_PAGE_TITLE), pricepoints);
 }
 protected abstract void ShowPricepoints(XsollaUtils utils, XsollaPricepoints pricepoints);
 public void SetManager(XsollaPricepoints pricepoints, ImageLoader loader)
 {
     SetManager(pricepoints);
 }
 public void SetManager(XsollaPricepoints pricepoints)
 {
     manager = pricepoints;
 }