Should I be concerned at this warning, I am passing an Integer to a sub that expects a javaobject.
I thought a javaobject could take any type of variable.
I thought a javaobject could take any type of variable.
B4X:
...
Log(Integer_toHexString(1,99) << warning on this line "Types do not match. (warning #22)"
...
'++++++++++++++++++++++++
'++ AutoGenerated Code ++
'++++++++++++++++++++++++
' Argument is : int
Sub Integer_toHexString(ob As JavaObject, arg As Int) As String
Return ob.RunMethod("toHexString",Array(arg))
End Sub