Ejemplo n.º 1
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = tv.DequeueReusableCell(NewsCellView.Key) as NewsCellView ?? NewsCellView.Create();

            cell.Set(_imageUri, _time, _actionImage, _attributedHeader, _attributedBody, _headerLinks, _bodyLinks, WebLinkClicked, _multilined);
            return(cell);
        }
Ejemplo n.º 2
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = tv.DequeueReusableCell(NewsCellView.Key) as NewsCellView ?? NewsCellView.Create();

            return(cell);
        }
Ejemplo n.º 3
0
 public EventTableViewSource(UITableView tableView, IReactiveNotifyCollectionChanged <EventItemViewModel> collection)
     : base(tableView, collection, NewsCellView.Key, 100f)
 {
     _cache = new TableViewCellHeightCache <NewsCellView, EventItemViewModel>(100f, () => NewsCellView.Create(true));
     tableView.SeparatorInset = NewsCellView.EdgeInsets;
     tableView.RegisterNibForCellReuse(NewsCellView.Nib, NewsCellView.Key);
 }