Android Question how to display fontawesome icons while using CustomListView

Makumbi

Active Member
Licensed User
Please i am trying out this please help
B4X:
    CustomListView1.AddTextItem(cs.Initialize.Typeface(Typeface.MATERIALICONS).Size(22).VerticalAlign(3dip).Append(Chr(0xE145)).PopAll.Append("Profile") & 1, "")
 

Brandsum

Well-Known Member
Licensed User
Please i am trying out this please help
B4X:
    CustomListView1.AddTextItem(cs.Initialize.Typeface(Typeface.MATERIALICONS).Size(22).VerticalAlign(3dip).Append(Chr(0xE145)).PopAll.Append("Profile") & 1, "")
You should append all the variables using CSBuilder instead of & then call popall.

B4X:
CustomListView1.AddTextItem(cs.Initialize.Typeface(Typeface.MATERIALICONS).Size(22).VerticalAlign(3dip).Append(Chr(0xE145)).PopAll.Append("Profile" & 1).PopAll, "")
 
Top