Hi
Use RunMethod2. Could i change the text of button ? How to typing the code ?
Use RunMethod2. Could i change the text of button ? How to typing the code ?
B4X:
Sub SetPressed(cmd As Button, Pressed As Boolean)
Dim ref As Reflector
ref.Target = cmd
ref.RunMethod2("setPressed", Pressed, "java.lang.boolean")
End Sub