Daestrum Expert Licensed User Longtime User Sep 8, 2015 #1 I searched the forums, but I must have my stupid head on today, as none of the examples made sense to me. I need a sub to be called from an actionevent in some java code. I know it involves BA ba, but .... Any help in making it clearer appreciated. This is the code I want to call a sub from Code: Copy mi.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { System.out.println(e + mm.getId()); *** just here*** } });
I searched the forums, but I must have my stupid head on today, as none of the examples made sense to me. I need a sub to be called from an actionevent in some java code. I know it involves BA ba, but .... Any help in making it clearer appreciated. This is the code I want to call a sub from Code: Copy mi.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { System.out.println(e + mm.getId()); *** just here*** } });
Erel B4X founder Staff member Licensed User Longtime User Sep 8, 2015 #2 See this post: https://www.b4x.com/android/forum/t...vent-from-inline-java-code.50161/#post-313304 Upvote 0