Android Question java.lang.ClassCastException B4XPage_CloseRequest

GuidoVL

Member
In B4A when on an Nokia T20 Tablet the B4XPage_CloseRequest event is raised I have the following error:
java.lang.ClassCastException: java.lang.String cannot be cast to anywheresoftware.b4a.BA$ResumableSub
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Search for CloseRequest and you will immediately see the problem:
1682599323627.png


The signature of the event in B4XSpelers is wrong. The return type must be ResumableSub.
 
Upvote 0
Top