From this tutorial: [B4X] [XUI] CustomListView - lazy loading / virtualization
Type CardData (Title As String, Content As String, BitmapFile As String, Color As Int) 'new Color field
Sub CLV1_ItemClick (Index As Int, Value As Object)
UpdateItemColor(Index, Rnd(0xff000000, 0xffffffff))
End...