Android Question How can i cast B4XSwitch to view ?

StarinschiAndrei

Active Member
Licensed User
Longtime User
Hi everyone,
Could anyone help me how can i cast B4XSwitch to view?
Below you can see the error (attach a test project ).
B4X:
java.lang.ClassCastException: b4a.example.b4xswitch cannot be cast to android.view.View
Thank you
 

Attachments

  • Project.zip
    17.3 KB · Views: 126
Top