External Object for Android with callback Event

谁都会走 提交于 2019-12-13 03:36:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!