ron
09/25/2016, 7:09 AMval currentItem = it
do access the selected item in the setOnActionedvin
09/25/2016, 7:30 AMedvin
09/25/2016, 7:30 AMcellCache { currentItem ->
ron
09/25/2016, 7:30 AMron
09/25/2016, 7:31 AMedvin
09/25/2016, 7:31 AMsetOnAction
instead of putting the code there, then you can swap this@listview.items
for root.items
edvin
09/25/2016, 7:32 AMbutton { setOnAction { descriptiveFunctionName(currentItem)
ron
09/25/2016, 7:32 AMthis@listview.items
annotationedvin
09/25/2016, 7:32 AMedvin
09/25/2016, 7:33 AMedvin
09/25/2016, 7:33 AMedvin
09/25/2016, 7:34 AMron
09/25/2016, 7:34 AMedvin
09/25/2016, 7:35 AMron
09/25/2016, 7:35 AMron
09/25/2016, 7:36 AMedvin
09/25/2016, 7:37 AMedvin
09/25/2016, 7:37 AMedvin
09/25/2016, 7:38 AMlistview(controller.todoCursor)
ron
09/25/2016, 7:38 AMron
09/25/2016, 7:38 AMedvin
09/25/2016, 7:38 AMedvin
09/25/2016, 7:38 AMron
09/25/2016, 7:39 AMron
09/25/2016, 7:39 AMedvin
09/25/2016, 7:40 AMedvin
09/25/2016, 7:40 AMedvin
09/25/2016, 8:31 AM