public void UpdateCell(Channel channel) { if(channel == Channel) return; Channel = channel; if(ChannelView == null) ChannelView = new ChannelView(); ChannelView.Update(Channel); this.ContentView.AddSubview(ChannelView); SetNeedsDisplay (); }
public ChannelElement(Channel channel) : base("") { Channel = channel; }
public ChannelCell(Channel channel) : base(UITableViewCellStyle.Default, ChannelElement.Key) { UpdateCell (channel); }
public void Update(Channel channel) { Channel = channel; SetButton(); }