Android Question Change Text Color of Item Clicked on CustomListView

German Buchmuller

Member
Licensed User
Longtime User
Hi, I have a custmolistview that shows a list from a txt file. When I click an Item, I want to change its color to a different one from the other items from the list. Can someone tell me how can I do this? Thanks
 

German Buchmuller

Member
Licensed User
Longtime User
This means that each item is made of a single label:
B4X:
Sub clv1_ItemClick (Index As Int, Value As Object)
   clv1.GetPanel(Index).GetView(0).TextColor = xui.Color_Red
End Sub
Thanks!
 
Upvote 0
Top