LastExceed
12/17/2019, 1:46 PMlistview(blocks) {
setCellFactory {
val cell = ListCell<Block>()
cell.text = cell.item.toString() //nullref here because cell.item is null
return@setCellFactory cell
}
}
how do i get a reference to the item the cell is going to represent so I can set the cell text?