public override void ViewDidLoad() { base.ViewDidLoad(); Title = "Collections"; TableView.RegisterClassForCellReuse(typeof(UITableViewCell), "Cell"); client = new BUYClient(AppDelegate.SHOP_DOMAIN, AppDelegate.API_KEY, AppDelegate.CHANNEL_ID); UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true; client.GetCollections((collections, error) => { UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false; if (error == null && collections != null) { this.collections = collections; TableView.ReloadData(); } else { Console.WriteLine("Error fetching products: {0}", error); } }); }
public ShippingRatesTableViewController(BUYClient client, BUYCheckout checkout) { this.client = client; this.checkout = checkout; }
public PreCheckoutViewController(BUYClient client, BUYCheckout checkout) : base(UITableViewStyle.Grouped) { this.client = client; this.checkout = checkout; }
public GetCompletionStatusOperation(BUYClient client, BUYCheckout checkout) { this.client = client; this.Checkout = checkout; }
public GetShopOperation(BUYClient client) { this.client = client; }
public GetShippingRatesOperation(BUYClient client, BUYCheckout checkout) { this.client = client; this.Checkout = checkout; }
public CheckoutViewController(BUYClient client, BUYCheckout checkout) : base(UITableViewStyle.Grouped) { this.client = client; this.checkout = checkout; }
public override void ViewDidLoad() { base.ViewDidLoad (); Title = "Collections"; TableView.RegisterClassForCellReuse (typeof(UITableViewCell), "Cell"); client = new BUYClient (AppDelegate.SHOP_DOMAIN, AppDelegate.API_KEY, AppDelegate.CHANNEL_ID); UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true; client.GetCollections ((collections, error) => { UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false; if (error == null && collections != null) { this.collections = collections; TableView.ReloadData (); } else { Console.WriteLine ("Error fetching products: {0}", error); } }); }
public ProductListViewController(BUYClient client, BUYCollection collection) : base(UITableViewStyle.Grouped) { this.client = client; this.collection = collection; }