Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

open XML Layout and run java function on load #77

Open
igutman opened this issue Aug 22, 2017 · 0 comments
Open

open XML Layout and run java function on load #77

igutman opened this issue Aug 22, 2017 · 0 comments

Comments

@igutman
Copy link

igutman commented Aug 22, 2017

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) { });
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant