Dear all,
I think that in the treeView class is a bug.
Everytime I want to sort the children of my treeView throws a exception in the log screen.
The exception throws this message:
java.lang.ClassCastException: javafx.scene.control.TreeItem cannot be cast to java.lang.Comparable
I think that in the treeView class is a bug.
Everytime I want to sort the children of my treeView throws a exception in the log screen.
B4X:
Private Sub sortTreeView()
tvArrangement.Root.Children.Sort(true)
End sub
The exception throws this message:
java.lang.ClassCastException: javafx.scene.control.TreeItem cannot be cast to java.lang.Comparable