Hi
I am trying to get the Index from a custom list view of this great RatingBar Lib.
To Do this I have included this code
Which works perfectly on the checkbox on CustomListView
This code is now under the Sub ASRatingBar1_RatingChange(rating As Int)
I am getting this error.
Any Ideas of how to solve it ?
Thank you
I am trying to get the Index from a custom list view of this great RatingBar Lib.
To Do this I have included this code
B4X:
Dim index As Int = clvViewContainers.GetItemFromView(Sender)
Which works perfectly on the checkbox on CustomListView
This code is now under the Sub ASRatingBar1_RatingChange(rating As Int)
I am getting this error.
Any Ideas of how to solve it ?
Thank you
java.lang.ClassCastException: class b4j.example.asratingbar cannot be cast to class javafx.scene.Node (b4j.example.asratingbar is in unnamed module of loader 'app'; javafx.scene.Node is in module javafx.graphics of loader 'app')