Android Question BBLabel inside the BBCodeView

Hanz

Active Member
Everyone,

Can we put the BBLabel inside the BBCodeView? I tried it but I get an error:
B4X:
java.lang.RuntimeException: Class instance was not initialized (bblabel)
my codes are as follows:
B4X:
Dim bblMsgContent As BBLabel
bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent)
sb.Append($"[View=bblMsgContent]"$).Append(CRLF)
bbcMessageContent is a BBCodeView and sb is a stringbuilder.

Thanks
 
Top