You could also inject the `PhotoModel` into both t...
# tornadofx
e
You could also inject the
PhotoModel
into both the controller and the View (
val selectedPhoto: Photomodel by inject()
) and then do
tableView.bindSelected(photoModel)
in the View. I suspect you listen to selection changes in the tableview now and update
controller.selectedPhoto.item
manually.