Daestrum Expert Licensed User Longtime User Jan 15, 2024 #1 Why doesn't 'Me' have .RunMethod(..) as an option. B4X: Me.RunMethod("someMethod",Null) instead of B4X: Dim jo As JavaObject = Me jo.RunMethod(..) or B4X: (Me).As(JavaObject).RunMethod(..) Just curious.
Why doesn't 'Me' have .RunMethod(..) as an option. B4X: Me.RunMethod("someMethod",Null) instead of B4X: Dim jo As JavaObject = Me jo.RunMethod(..) or B4X: (Me).As(JavaObject).RunMethod(..) Just curious.
aeric Expert Licensed User Longtime User Jan 15, 2024 #2 Before Me is cast to JavaObject, it is an Object. Object has no RunMethod. In different places, it is different. My 2 cents. Upvote 1
Before Me is cast to JavaObject, it is an Object. Object has no RunMethod. In different places, it is different. My 2 cents.