```listview(blocks) { setCellFactory { val cell...
# tornadofx
l
Copy code
listview(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?