def tableview_cell_for_row(self, tableview, section, row):
cell = ui.TableViewCell('value1')
if section == 0:
if row == 0:
cell.text_label.text = 'Record'
cell.detail_text_label.text = self.return_count_label()
else:
cell.text_label.text = str(self.tkeys[row-1])
cell.detail_text_label.text = str(self.tdata[self.currentid-1][row-1])
cell.selectable = False
return cell
评论列表
文章目录