Hi
I use most of time, string parameter in my sub
For example
java.lang.IllegalArgumentException: method it.techservice.tpick.mySub argument 1 has type java.lang.String, got java.lang.Integer
how can i avoid this behavior?
thanks
I use most of time, string parameter in my sub
For example
B4X:
Sub mySub(sPar as String)
workMode = sPar 'Dim WorkMode As Int is declared in Sub GLOBALS of activity
end Sub
' I call my sub with this code
CallSubDelayed2(Me,"mySub", 64+5) ' this work fine in the most of time but some time i have an exception
how can i avoid this behavior?
thanks