Skip to content

TableViewAdapter self heightForCellByReuseId string function

xu_whale edited this page Dec 4, 2019 · 4 revisions

title: TableViewAdapter:heightForCellByReuseId(string a, function b) comments: false

简介

设置返回某行的高度的回调

  • @param a string reuseId:复用ID
  • @param b function 回调格式:
function(number section,number row) 
	 ---section:组数 
	 ---row:行数 
	 ---返回高度,number 
end ```
Clone this wiki locally