Android Question Integer to integer casting

rossati

Active Member
Licensed User
Longtime User
Hello

I have this error:

java.lang.ClassCastException: java.lang.Integer cannot be cast to android.widget.TextView

in this instruction:
B4X:
Dim lbl As Label = fg.getHandle("title")
lbl.TextColor = Colors.Green

TextColor and Colors.Green are not Int?

Best regards.

John Rossati
 
Top