I used without problems for a long time the following routine:
Now I have this error:
who can help me?
Thanks
B4X:
Sub SetPadding(v As View, Left As Int, Top As Int, Right As Int, Bottom As Int)
Dim jo As JavaObject = v
jo.RunMethod("setPadding", Array As Object(Left, Top, Right, Bottom))
End Sub
Now I have this error:
B4A version 4.30
Parsing code. 0.20
Compiling code. Error
Error compiling program.
Error description: Missing parameter.
Occurred on line: 33
jo.RunMethod("setPadding", Array As Object(Left, Top, Right, Bottom))
Word: )
who can help me?
Thanks