At the moment there is no Type CharSequence.
I would like to make a class method this way:
This would allow different choices such as:
All three would be correct.
I would like to make a class method this way:
B4X:
Sub SetLabelText(Text As CharSequence)
GeneralLabel.Text=Text
End Sub
This would allow different choices such as:
B4X:
SetLabelText("Hallo")
Dim Cs As CSBuilder
Cs.Initialize.Color(Colors.Blue).Underline.Append("Hallo").PopAll
SetLabelText(Cs)
Dim RS As RichString
RS.Initialize("Hallo")
RS.Color(Colors.Black,0,5)
SetLabelText(RS)
All three would be correct.