xCLV is cross platform, more powerful and easier to work with.
If you add simple text items:
B4X:
Dim clrs() As Int = ArrayAs Int(xui.Color_LightGray, xui.Color_White)
For i = 0To99
CustomListView1.AddTextItem("Item #" & (i + 1), "")
CustomListView1.GetPanel(i).Color = clrs(i Mod2)
Next
A doubt.
I already use CustomListView in some cases, does this xCustomListView replace the CustomListView?
Can I use both at the same time?
So I don't have to rewrite the code I use with CustomListView, or are they compatible?
Thank you.
You cannot use them together. xCustomListView replaced CustomListView. It shouldn't be too difficult to switch from the old CLV to the newer xCLV. You will need to remove the CLV from the layout and add it again.
Note that xCLV is also named CustomListView in the IDE.
You cannot use them together. xCustomListView replaced CustomListView. It shouldn't be too difficult to switch from the old CLV to the newer xCLV. You will need to remove the CLV from the layout and add it again.
Note that xCLV is also named CustomListView in the IDE.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.