ace icon indicating copy to clipboard operation
ace copied to clipboard

open XML Layout and run java function on load

Open igutman opened this issue 7 years ago • 0 comments

Is there a way to show an android xml layout and run a java function on load? (I have java class that embeded an android layout in init)

I tried things like that: ace.navigate("android://android_sample.xml", function (root) { var className = ace.valueOn({ android: "mypackage.example", ios: "example" }); ace.NativeObject.invoke(className, "check", 1, function (result) { }); });

igutman avatar Aug 22 '17 08:08 igutman