问题
I'm building an External Object for Android. I have an asynchronous method and I guess I must to use an Event into the External Object to receive it's callback in Genexus.
But, can anyone show me how to trigger this event in GX from the android java class?
回答1:
This method:
mCoordinator.runAction("yourEvent", null);
And the mCoordinator you can get it at the constructor:
public YourUC(Context context, Coordinator coordinator, LayoutItemDefinition definition){
}
来源:https://stackoverflow.com/questions/33133026/external-object-for-android-with-callback-event