Greetings,
Can you check my coding? I'm trying to set up an on touch listener on one of my image views with the reflection library. I can compile the app without errors but when I run the app the logs indicate this error:
java.lang.NullPointerException: Attempt to invoke virtual method 'void...
Hi all, does anyone know how to write this code using either JavaObject or Reflection libraries, maybe both are needed?
I'm not so good and don't really understand much how to use those two libraries, i've tried several things but none of them work
try {...
SOLVED: https://www.b4x.com/android/forum/threads/reflection-and-template-argument.106102/#post-664183
Hi!
This is a Reflection question, so please read-on even if you're not familiar with LibGDX.
With regards to LibGDX, I'm trying to access (with reflection) the "derivativeAt" method of the...
Hi!
Since Try/Catch doesn't work with CallSub, is there a way to check if a method exists in a given class (instance)?
Edit: Solved!
Sub SafeCallSub(class As Object, method As String) As Object
If SubExists(class, method) Then Return CallSub(class, method)
Return Null
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.