Android Question how to get select item from customlistview on click

Makumbi

Well-Known Member
Licensed User
B4X:
Sub CustomListView1_ItemClick (Index As Int, Value As Object)
    Log(Value)
End Sub

the above code gives me an empty value

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

i wanted to get the word Profile from the list please help
 

aeric

Expert
Licensed User
Longtime User
B4X:
CustomListView1.AddTextItem(cs.Initialize.Typeface(Typeface.MATERIALICONS).Size(22).VerticalAlign(3dip).Append(Chr(0xE84F)).PopAll.Append("Profile").PopAll
I think this is not the right way to add item into CustomListview. Follow the tutorial.
 
Upvote 0
Top