Android Question Ver 10 Warning

fishwolf

Well-Known Member
Licensed User
Longtime User
With ver 10 i have this warning

Profile - 240: Comparison of Object to other types will fail if exact types do not match.
Better to put the object on the right side of the comparison. (warning #35)

on "IF" for this code

B4X:
Wait For ion_Event (MethodName As String, Args() As Object)
 If Args(0) = -1 Then

How to fix it?

Thanks
 

aeric

Expert
Licensed User
Longtime User
Last edited:
Upvote 0
Top