Android: data exchange between Haxe and Java



I’m new in Haxe and trying to figure out, how to pass data from Android/Java to Haxe code. I’ve found only Extension which allows to receive data from HaXe to Java, but nothing on how to get access to HaXe methods from Java code. I wonder why it isn’t described in Haxe documentation, maybe I have missed something?
Will be great to get your advice
Thank you!


Joshua gave an example here. I don’t use this feature myself, but I’m told it works reliably now.