This is a hypothetical question for curiosity only. Using the below code the xCLV items height changes randomly as intended, but the item width remains the same no matter what change I make to customlistview, panel or the items:
Why is that. Is there a way to vary the width of the panel from item to item.
B4X:
Sub CreateMyItems() As B4XView
Dim p As B4XView = xui.CreatePanel("")
' p.SetLayoutAnimated(0,0,0,CustomListView1.AsView.Width,Rnd(75dip, 151dip))
p.SetLayoutAnimated(0,0,0,Rnd(100dip, 251dip),Rnd(75dip, 151dip))
p.LoadLayout("Item")