public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { ProductsInListView pls = new ProductsInListView(); pls.setListId(tableItems [indexPath.Row].id); controller.NavigationController.PushViewController(pls, true); }
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 (); }
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 (); }; }
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); }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { ProductsInListView pls = new ProductsInListView (); pls.setListId (tableItems [indexPath.Row].id); controller.NavigationController.PushViewController (pls, true); }