Esempio n. 1
0
        public override UIKit.UITableViewCell GetCell(Xamarin.Forms.Cell item, UIKit.UITableViewCell reusableCell, UIKit.UITableView tv)
        {
            var tvc = tv.DequeueReusableCell("BrandCell");

            if (tvc == null)
            {
                tv.RegisterNibForCellReuse(BrandCell.Nib, "BrandCell");
                tvc = tv.DequeueReusableCell("BrandCell");
            }
            //tvc.Cell = item;

            //WireUpForceUpdateSizeRequested(item, tvc, tv);

            //tvc.TextLabel.Text = item.ToString();

            //UpdateBackground(tvc, item);
            return(tvc);
        }
Esempio n. 2
0
 public IssueTableViewSource(UIKit.UITableView tableView)
     : base(tableView, HintSize)
 {
     tableView.RegisterNibForCellReuse(IssueCellView.Nib, IssueCellView.Key);
 }
Esempio n. 3
0
 public IssueTableViewSource(UIKit.UITableView tableView, IReactiveNotifyCollectionChanged <IssueItemViewModel> collection)
     : base(tableView, collection, IssueCellView.Key, HintSize)
 {
     tableView.RegisterNibForCellReuse(IssueCellView.Nib, IssueCellView.Key);
 }