Public Sub Add_Shop_Info_to_CLV
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Root.Width, 60dip)
p.LoadLayout("Layout_View_DistrShops")
lblDistrShop_Status .text = DistrShop_Status
lblDistrShop_Area .text = DistrShop_Area
lblDistrShop_Location .text = DistrShop_Location
lblDistrShop_Name .text = DistrShop_Name
' lblDistrShop_OwnerIDNoVIEW .text = DistrShop_OwnerIDNo
lblDistrShop_OwnerNameVIEW .text = DistrShop_OwnerName
lblDistrShop_OwnerSurnameVIEW .text = DistrShop_OwnerSurname
lblDistrShop_OwnerTelephoneVIEW .text = DistrShop_OwnerTelephone
lblDistrShop_RegNo .text = DistrShop_RegNo
lblDistrShop_Section .text = DistrShop_Section
' lblDistrShop_Street .text = DistrShop_Street
lblDistrShop_Telephone .text = DistrShop_Telephone
Dim prod_list As List
prod_list.Initialize
prod_list.AddAll(Array As String(DistrShop_Status, DistrShop_Area, DistrShop_Location, DistrShop_Name, DistrShop_OwnerIDNo, DistrShop_OwnerSurname, DistrShop_OwnerSurname, DistrShop_OwnerTelephone, DistrShop_RegNo, DistrShop_Section, DistrShop_Street, DistrShop_Telephone))
clvDistrShops.Add(p,prod_list)
End Sub