Sub clv2_ItemClick(Index As Int, Value As Object)
Dim pnl As B4XView = clv2.GetPanel(Index)
Dim lbl As B4XView = pnl.GetView(1) 'second view in rowitem layout view tree
For i = 1 To 10
If i Mod 2 = 0 Then
lbl.TextColor = Colors.Black
Else
lbl.TextColor = Colors.Red
End If
Sleep(400)
Next
End Sub