public ProductsTableSource(List <ProductsPriceInStoreService> items, ProductsStorePricesView controller) { tableItems = items; this.controller = controller; PlaceholderImage = MaxResizeImage(Images.sinImagen, 80, 80); 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 RowSelected(UITableView tableView, NSIndexPath indexPath) { pspv = new ProductsStorePricesView (); pspv.setData (ProductsInListView.list_id, tableItems [indexPath.Row].id, tableItems[indexPath.Row].nombre); controller.NavigationController.PushViewController (pspv, true); }
public ProductsTableSourceIphone (List<ProductsPriceInStoreService> items, ProductsStorePricesView controller) { tableItems = items; this.controller = controller; PlaceholderImage = MaxResizeImage (Images.sinImagen, 60, 60); 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 (); }; }