目前已經(jīng)學(xué)會(huì)官方文檔中的Module 擴(kuò)展public class MyModule extends WXModule {
@WXModuleAnno(runOnUIThread = true)
public void printLog(String msg) {
Toast.makeText(mWXSDKInstance.getContext(),
msg,Toast.LENGTH_SHORT).show();
}
}本人安卓小白,只知道一些基本知識(shí)?,F(xiàn)在不知道 weex如何調(diào)用安卓中(已提前寫好的)activity,有沒有相關(guān)的示例代碼 可以參考一下?
weex 如何跳轉(zhuǎn)到android的activity ?
慕婉清6462132
2018-10-09 15:12:25