edvin
02/11/2017, 7:26 PMPhotoModel
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.