List.
AddAll (List As List)
Adds all elements in the specified collection to the end of the list.
Note that you can add an array directly.
Example:
List.AddAll(Array As String("value1", "value2"))
B4J Question [BANano] [SOLVED] How to handle Type Lists AddAll? - Mashiane    
Mar 17, 2021.
However, as soon as I execute this call..
tblA.styles.lineColor.AddAll(Array As Int (44, 62, 80...Ola
In a class module I have defined a type.
Type StylesObj (font As String, lineWidth As Double, lineColor As List)
Public styles As StylesObj
On the class Initialize method the type...
tblA.styles.lineColor.Add(44)
tblA.styles.lineColor.Add(62)
tblA.styles.lineColor.Add(80...
link: anyway.
So temporary solution:
Dim lineColor as List = tblA.styles.lineColor
lineColor.AddAll...
Wish Map.AddAll & List.Swap functions I'd like to see implemented - Widget    
Sep 5, 2016Map1.AddAll(Map2)
I don't know why Map doesn't have a built-in AddAll method like List has, to assign the key/values pairs of Map2 to the existing key/values of Map1. Although this is easy enough to do in code, I think it should be part of the language.
'Assign the aMapFrom key/values... MapAddAll(aMapFrom As Map, aMapDest As Map)
If aMapFrom.IsInitialized Then...))
Next
End If
End Sub
List1.Swap(x,y) or Array1.Swap(x,y) or Map1.Swap(x,y)
This is easy enough to...
B4A Question Cannot list.addall using string variable - Erel (first post)    
Feb 17, 2013s is a string. Calling Array As String(s) only wraps it in an array.
The correct code:
List1.AddAll(Regex.Split(",", s))
...
link: <debug here>
List1.AddAll(Array As String(s)) 'ONLY ONE BIG STRING ADDED INSTEAD...
B4A Question auto declare inline variable/object - ilan    
Oct 19, 2021   
(1 reaction)i would like this to work without declaring the object newlist
newlist.As(List).AddAll(l...
newlist.AddAll(l)
Log(newlist.Size)
inside subs it should not be to difficult to implement it right...
link: newlist.As(List).AddAll(l)
this snippet should return already a declared list named newlist...
link:
This code cannot work:
e
newlist.As(List).AddAll(l)
Sorry i was not clear enough. Its a WISH š...
link: )
This code cannot work:
newlist.As(List).AddAll(l)
...
B4A Library [B4X] [XUI] xCustomListView - cross platform CustomListView - Erel    
May 17, 2022   
(44 reactions)   
tags: CustomListView, xcutomlistbox card, xuiCLV, CUSTOMLIST, Erel, XUI
xCustomListView is an implementation of CustomListView based on XUI library. It provides all the features... of
'clv2.Add(CreateListItem($"Item #${i}"$, clv2.AsView.Width, 160dip), $"Item.../forum/threads/98252/#content
CLVHeader - (B4X) - Adds a nice animated header to the list: https...Update: As several other libraries depend on xCustomListView library, it is no longer recommended to use the code module. Use the library instead. There are several extension classes that add more...
B4A Question label object in a list - LucaMs (first post)    
Dec 7, 2020   
(3 reactions)Change this line:
the_event_list.AddAll (Array As Label (Label1,Label2,Label3,Label4))
to
the_event_list.AddAll (Array (Label1,Label2,Label3,Label4)) ' it is the same of Array As Object
...
link: I feed a list with label name :
the_event_list.AddAll (Array As Label (Label1,Label2,Label3,Label4...
B4A Question How to add multiple of "Horizontal CustomListView" inside "Vertical CustomListView" ? - Mahares (first post)    
Feb 12, 2023   
(1 reaction)
Like this attached image:
That is easy:
1. Open the Designer for layout 1 and click on customlistview1.
2. Change the color of the 'Divider; from black to transparent and save. That is all
For your other question about adding a US flag. If you have a us.png image of a flag somewhere, add it to the assets folder and change the code line to this:
MyList.AddAll(Array("france.png"...
link: change the code line to this:
MyList.AddAll(Array("france.png", "romania.png"...
B4A Question Clear list, unexpected result? [Solved] - PaulMeuris (first post)    
May 7, 2022   
(2 reactions)If you write:
listB.AddAll(listA)
The contents of listA is added to the contents of listB.
The clear method removes all the items from the list (listB)
So now listA remains the same!...
link:
If you write:
listB.AddAll(listA)
The contents of listA is added to the contents of listB...
link: .
'MainForm.Show
listA.Initialize
listB.Initialize
listA.AddAll(Array...
B4J Question Weird List Add problem - Erel (first post)    
Nov 25, 2020   
(1 reaction)File.ListFiles returns a read-only list (see the help box).
AddAll will indeed work:
Dim List1 As List
List1.Initialize
List1.AddAll(File.ListFiles(...))
...
link: , instead another solution), have you tried with:
AddAll (List As List)
Adds all elements in...
link: , instead another solution), have you tried with:
AddAll (List As List)
Adds all elements in...
B4J Question (Solved) Get the Name of a List - TILogistic (first post)    
Sep 10, 2021   
(1 reaction)or
Dim Name As String = "MyList"
Dim MyList As List
MyList.Initialize
Dim NameList As Map = CreateMap(Name : MyList)
NameList.Get(Name).As(List).AddAll(Array As Int(1, 2, 3, 4, 5))
Log(NameList.Get(Name))
...
Page: 1  
2  
3  
4  
5  
6  
7