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... B4A Question Cannot list.addall using string variable - Erel (first post)    Feb 17, 2013 s is a string. Calling Array As String(s) only wraps it in an array.
The correct code:
List1.AddAll(Regex.Split(",", s))
... Wish Map.AddAll & List.Swap functions I'd like to see implemented - Widget    Sep 5, 2016 Map1.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 Library [B4X] [XUI] xCustomListView - cross platform CustomListView - Erel    Dec 24, 2023   (45 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 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... B4A Question Howto add a "type record" in a list ? - LucaMs (first post)    Oct 28, 2023
myList.AddAll
I don't like AddAll; this will limit the use of the List.... B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    Sep 10, 2023   (43 reactions) B4A + B4i example: https://www.b4x.com/android/forum/threads/b4x-texteditor-save-and-load-external-files.132731/#post-838166 List of classes or libraries that can be used to access secondary storages: ContentChooser (Phone libray) - allows the user to select a resource or file using external... a folder, your app can read and write from that folder. Doesn't require any permission. Not all....CREATE_DOCUMENT", "") intent.AddCategory("android.intent.category.OPENABLE"... B4A Question Exception while converting List to ByteArray - DonManfred (first post)    Apr 25, 2023 you should use list.AddAll(bytesfromaudiostreamer) ' Where list is your Listobject...... extract each (String) entry
which STRING?
Additional information:
My list object contains data from... 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 ... B4J Code Snippet Randomize Re-Sort List - Daestrum (first post)    Mar 30, 2024   (2 reactions) ) random.InitializeNewInstance("java.util.Random",Array(DateTime.Now)) Dim myList As List myList.Initialize myList.AddAll(Array As String("Element 1", "Element 2", "Element 3", "Element 4", "Element 5")) ' Add your elements here collections.RunMethod("shuffle",Array(myList,random)) For Each element In myList Log(element) Next End Sub ... Page: 1   2   3   4   5   6   7   |