customize the component of the weex and directly inherit the WXText. Why can"t you get the data in the tag in the Attributes in basicComponentData?
the code is as follows:
public class FundWxRichText extends WXText {
public FundWxRichText(WXSDKInstance instance, WXVContainer parent, BasicComponentData basicComponentData) {
super(instance, parent, basicComponentData);
this.setContentBoxMeasurement(new FundWxRichText.RichTextContentBoxMeasurement(this));
}
}
the constructor parameter basicComponentData in the source code can get the data in the tag, but the custom one cannot. Why?