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