ProgressDialogShow2("Updating All Posts...",False) ' show user the list is being created...
Cursor = Starter.SQL1.ExecQuery(qry) ' get a subset of the list to load
clvunits.Clear ' empty the existing xCLV (if any)
' set the underlying xCLV scroll view visibility to false - IMPORTANT - don't waste cycles painting the screen!
clvunits.sv.Visible = False ' prevent list update (visibility) from consuming extra time in loop processes
Do While Cursor.NextRow
' Load many different layouts (possibly)
' Set attributes of the layout loaded
' call many other methods to set these attributes
' do whatever....
Loop
ProgressDialogHide ' dismiss the spinning circle and carry on...
' set the underlying xCLV scroll view visibility to True - also IMPORTANT
clvunits.sv.Visible = True