i can call static methods with
jsb.reflection.callStaticMethod
but what about none static functions ?
is it possible call a none static function in js side ?
i can call static methods with
jsb.reflection.callStaticMethod
but what about none static functions ?
is it possible call a none static function in js side ?
i find a tricky way , only need simple java knowledge …
its need create a new instance from class and then call none static method in a static method.
public static void staticMethod(){
ClassName temp = new ClassName()
temp.noneStaticMethod()
}