public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell(typeof(BTDeviceInfoCellView).Name) as BTDeviceInfoCellView; if (null == cell) { cell = new BTDeviceInfoCellView(); } cell.SetDeviceInfo(BTPacketHandler.DeviceList[indexPath.Row]); return(cell); }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell(typeof(BTDeviceInfoCellView).Name) as BTDeviceInfoCellView; if (null == cell) cell = new BTDeviceInfoCellView(); cell.SetDeviceInfo(BTPacketHandler.DeviceList[indexPath.Row]); return cell; }