Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 Android 构建一个外部对象。我有一个异步方法,我想我必须在外部对象中使用一个事件来接收它在 Genexus 中的回调。
但是,谁能告诉我如何在 GX 中从 android java 类触发这个事件?
这种方法:
mCoordinator.runAction("yourEvent", null);
而 mCoordinator 你可以在构造函数中得到它:
public YourUC(Context context, Coordinator coordinator, LayoutItemDefinition definition){ }