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

StarinschiAndrei

Active Member
Licensed User
Longtime User
Thank you.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…