after Weex customizes the drop-down refresh and loads more frames in Android, he wants to add sublayouts to Vue, but never shows them.
ask the great gods for advice.
Note: already registered using the following:
WXSDKEngine.registerComponent ("hogerefreshlayout", WeexRefreshLayout.class);
public class WeexRefreshLayout extends WXComponent < LinearLayout > {
public WeexRefreshLayout(WXSDKInstance instance, WXDomObject dom, WXVContainer parent) {
super(instance, dom, parent);
}
@Override
protected LinearLayout initComponentHostView(@NonNull Context mContext) {
return new LinearLayout(mContext);
}
}
< hr >< template >
<!-- @-->
<hogerefreshlayout ref="hogerefreshlayout" startrefresh="onrefresh" startloadmore="onloading" class="hoge">
<text class="text"></text>
< / hogerefreshlayout >
< / template >
Preview can be displayed, but the client side shows blank: