-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weex怎么加载到Fragment? #2593
Comments
加载到 Fragment 中渲染: MainActivity mainActivity = (MainActivity) getActivity();
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
@Nullable Bundle savedInstanceState) {
mainActivity.setContainer(customView);
return customView;
}
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
mainActivity.renderPage(WXFileUtils.loadAsset("more-lists.js", getContext()));
} 😁 |
AbstractWeexActivity不是抽象类吗 为什么是实现它? |
|
同问 现在如何将Weex渲染加载到当前Activity的Fragment中 |
一样我也想问,怎么把 js 渲染到fragment里 求大神啊 |
Hi guys, try this demo weex-start-kit to see how to load weex page in |
This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet. Feel free to ask question in new repository and thanks for your contribution. |
This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions. |
这个问题是否解决了,目前也遇到此类问题,参考[weex-start-kit]无法解决,是否可以给与一些帮助 |
Android使用原生导航栏 怎么让Weex渲染加载到当前Activity的Fragment中
官方只有Activity的Weex实现
The text was updated successfully, but these errors were encountered: