You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/12/19 12:20:38 UTC

[GitHub] lucky-chen edited a comment on issue #1831: IOS中WXSDKInstance 中moduleForClass方法,在Android SDK有那个方法可以替代?

lucky-chen edited a comment on issue #1831: IOS中WXSDKInstance 中moduleForClass方法,在Android SDK有那个方法可以替代?
URL: https://github.com/apache/incubator-weex/issues/1831#issuecomment-448574847
 
 
   @PorterLuo try this ,could invoke targetModule
   ```
    WXBridgeManager.getInstance().post(new Runnable() {
         @Override
         public void run() {
           WXBridgeManager.getInstance().callModuleMethod(
               getWXSDKIntance().getInstanceId(),
               "moduleName",
               "moduleMethod",
               null(args)
               );
         }
       });
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services