Ejemplo n.º 1
0
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            ProductsInListView pls = new ProductsInListView();

            pls.setListId(tableItems [indexPath.Row].id);
            controller.NavigationController.PushViewController(pls, true);
        }
Ejemplo n.º 2
0
			public CompareTableSourceIphone (List<CompareListsService> items, ProductsInListView controller) 
			{
				tableItems = items;
				this.controller = controller;

				PlaceholderImage = MaxResizeImage (Images.sinImagen, 60, 60); 
				controller.storeImages.CollectionChanged += HandleCollectionChanged;
				// If either a download fails or the image we download is corrupt, ignore the problem.
				TaskScheduler.UnobservedTaskException += (object sender, UnobservedTaskExceptionEventArgs e) => e.SetObserved ();
			}
Ejemplo n.º 3
0
			public ProductsTableSourceIphone (List<ProductsInListService> items, ProductsInListView controller) 
			{
				tableItems = items;
				this.controller = controller;
				PlaceholderImage = MaxResizeImage (Images.sinImagen, 60, 60); 

				foreach (ProductsInListService product in tableItems){
					UIButton boton = new UIButton ();
					botones.Add (boton);
				}

				controller.productImages.CollectionChanged += HandleCollectionChanged;
				// If either a download fails or the image we download is corrupt, ignore the problem.
				TaskScheduler.UnobservedTaskException += delegate(object sender, UnobservedTaskExceptionEventArgs e) {
					e.SetObserved ();
				};
			}
Ejemplo n.º 4
0
		public override void DidScanBarcode (SIOverlayController overlayController, NSDictionary barcode) {
			picker.StopScanning ();
			pdl = new ProductsInListView();
			pdl.setBarcode(barcode["barcode"].ToString());
			pickerControllerDelegate.scanned = true;
			presentingViewController.NavigationController.PopViewController (true);
		}
Ejemplo n.º 5
0
		public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
		{
			ProductsInListView pls = new ProductsInListView ();
			pls.setListId (tableItems [indexPath.Row].id);
			controller.NavigationController.PushViewController (pls, true);
		}