public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { BUYCollection collection = null; if (indexPath.Section == 1) { collection = collections [indexPath.Row]; } var productListViewController = new ProductListViewController(client, collection); NavigationController.PushViewController(productListViewController, true); }
public ProductListViewController(BUYClient client, BUYCollection collection) : base(UITableViewStyle.Grouped) { this.client = client; this.collection = collection; }