I added a selection change listener (listView.getSelectionModel().selectedItemProperty().addListener... ) on a ListView with SelectionMode.MULTIPLE set.
When adding the listener as anonymous class, everything works as expected.
When adding another listener as lambda expression, everything works still as expected.
Now uncomment the first listener (anonymous class). From now on the remaining listener (lamda expression) won't get called if an existing selection gets changed while pressing the SHIFT-key (multi-selection).
EDIT: I added an executable sample code (see next comment)
When adding the listener as anonymous class, everything works as expected.
When adding another listener as lambda expression, everything works still as expected.
Now uncomment the first listener (anonymous class). From now on the remaining listener (lamda expression) won't get called if an existing selection gets changed while pressing the SHIFT-key (multi-selection).
EDIT: I added an executable sample code (see next comment)