You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
i discovered that the cell selection in either ListView and CharmListView is not working as expected.
Tested phones:
Acer Liquid Zest Plus (Android 6)
Samsung Galaxy S8 (Android 7)
Tested samples:
Fifty States
While it is working fine in desktop mode, the touch selection on both android versions is only working sporadically. You need to tap rapidly to achieve a selection.
As a workaround for the Listview i implemented a simple mouseClicked listener: setOnMouseClicked(e -> { System.out.println("Selected Item!!! -> " + cellItem); this.listViewProperty().get().getSelectionModel().select(cellItem); });
The workaround for the CharmListView and CharmListCell was more complex as the cell needs to be aware of its owning listview. The inherited listview property does not contain the listview as i would expect: tile.setOnMouseClicked(e -> { System.out.println("Selected Item!!! -> " + item); listView.setSelectedItem(item); });
I attach the modified BasicView and USStateCell for further investigation. fiftystates_modified.zip
Best Regards
The text was updated successfully, but these errors were encountered:
HetBenkt
added a commit
to HetBenkt/HomeFitnessFX
that referenced
this issue
Sep 19, 2019
Hi there,
i discovered that the cell selection in either ListView and CharmListView is not working as expected.
Tested phones:
Tested samples:
While it is working fine in desktop mode, the touch selection on both android versions is only working sporadically. You need to tap rapidly to achieve a selection.
As a workaround for the Listview i implemented a simple mouseClicked listener:
setOnMouseClicked(e -> { System.out.println("Selected Item!!! -> " + cellItem); this.listViewProperty().get().getSelectionModel().select(cellItem); });
The workaround for the CharmListView and CharmListCell was more complex as the cell needs to be aware of its owning listview. The inherited listview property does not contain the listview as i would expect:
tile.setOnMouseClicked(e -> { System.out.println("Selected Item!!! -> " + item); listView.setSelectedItem(item); });
I attach the modified BasicView and USStateCell for further investigation.
fiftystates_modified.zip
Best Regards
The text was updated successfully, but these errors were encountered: