0

我正在为 Android 构建一个外部对象。我有一个异步方法,我想我必须在外部对象中使用一个事件来接收它在 Genexus 中的回调。

但是,谁能告诉我如何在 GX 中从 android java 类触发这个事件?

4

1 回答 1

0

这种方法:

mCoordinator.runAction("yourEvent", null);

而 mCoordinator 你可以在构造函数中得到它:

public YourUC(Context context, Coordinator coordinator, LayoutItemDefinition definition){ }

于 2015-10-14T22:25:40.550 回答