示例#1
0
 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 ();
 }
示例#2
0
 public ChannelElement(Channel channel)
     : base("")
 {
     Channel = channel;
 }
示例#3
0
 public ChannelCell(Channel channel)
     : base(UITableViewCellStyle.Default, ChannelElement.Key)
 {
     UpdateCell (channel);
 }
示例#4
0
 public void Update(Channel channel)
 {
     Channel = channel;
     SetButton();
 }