예제 #1
0
 public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
 {
     LiveScoreCell cell = tableView.DequeueReusableCell ("livescorecell") as LiveScoreCell;
     if (cell == null) {
         cell = new LiveScoreCell (cellId);
     };
     setCell (cell, indexPath);
     return cell;
 }
예제 #2
0
 //---------------------------------------------------------------------------------------------
 private void setCell(LiveScoreCell cell, NSIndexPath indexPath)
 {
     //			cell.TextLabel.TextColor = UIColor.White;
     //			cell.ContentView.BackgroundColor = UIColor.FromRGB (26, 26, 26);
     //			cell.TextLabel.BackgroundColor = UIColor.FromRGB (26, 26, 26);
     //			cell.AccessoryView.BackgroundColor = UIColor.FromRGB (26, 26, 26);
     //			cell.SetLiveScoreCell (items [indexPath.Row].TeamOne, items [indexPath.Row].TeamTwo, items [indexPath.Row].Result,
     //			                       items [indexPath.Row].LoaderSource,items [indexPath.Row].TimeIndicator,items [indexPath.Row].StartTime);
 }
예제 #3
0
 private void setCell(LiveScoreCell cell, NSIndexPath indexPath)
 {
     cell.SetLiveScoreCell (matches [indexPath.Row].Team1, matches [indexPath.Row].Team2, matches [indexPath.Row].Result,
                            matches [indexPath.Row].State, matches [indexPath.Row].MatchTime);
 }