Inheritance: UITableViewCell
コード例 #1
0
		public override UITableViewCell GetCell (UITableView tv)
		{
			var cell = (AnimatingCell)tv.DequeueReusableCell (typeof(AnimatingCell).Name);
			if (cell == null){
				cell = new AnimatingCell(UITableViewCellStyle.Default, typeof(AnimatingCell).Name);
			}
			updateCell(cell);
			return cell;
		}
コード例 #2
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = (AnimatingCell)tv.DequeueReusableCell(typeof(AnimatingCell).Name);

            if (cell == null)
            {
                cell = new AnimatingCell(UITableViewCellStyle.Default, typeof(AnimatingCell).Name);
            }
            updateCell(cell);
            return(cell);
        }
コード例 #3
0
 private void updateCell(AnimatingCell cell)
 {
     cell.TextLabel.Text = Caption;
     cell.Animating      = _animating;
 }
コード例 #4
0
		private void updateCell(AnimatingCell cell){
			cell.TextLabel.Text = Caption;
			cell.Animating = _animating;
		}