Sub Process_Globals
Private StudioSpurItem, Dragger As B4XView
Private UpLbl, DownLbl, OpenLbl, MetroLbl, Muell As Label
...
Sub AppStart (Form1 As Form, Args() As String)
mCLV.Initialize("")
For i = 0 To 20
Dim pnl As B4XView = CreateItem("Zeile" & i)
mCLV.Add(pnl,i)
Next
...
Sub CreateItem(Title As String) As B4XView
Dim p As B4XView = xui.CreatePanel("")
p.LoadLayout("Item")
p.SetLayoutAnimated(0, 0, 0, p.Width, p.Height)
StudioSpurItem.Text = Title
Return p
End Sub