list

  1. 3

    Italian lista di scelte

    Ho un' app che avevo sviluppato con Basic4A versione 3.20 adesso la sto passando alla versione 9. Alcune cose non mi funzionano più, per esempio io facevo questo: sembrerebbe che x.InputList1 non esista in questa versione Dim r As List r.Initialize r.AddAll(Array As...
  2. DALB

    Android Question Is a list able to keep panels properties ?

    Hello eveyone. Technical question about "what can a list do ?" Is a list able to store panels like this : list.add(panel(i)) if yes, are all the properties of each panel stored in the list enabled or not ? I ask this to know if I can call any panel with it all properties in my code from the...
  3. Daniel44

    Android Question (SOLVED)List Can't be used in a BXTable

    Helo everyone! I have a Standart Class Called Productos like this: Public Sub SelectAll(Filtro As String) As List Dim Cursor As Cursor Dim Data As List Data.Initialize() Cursor = Connection.mySQL.ExecQuery2("SELECT * FROM productos WHERE NombreProd LIKE ?", Array As...
  4. LucaMs

    Other List of types

    If you fill a List with custom types objects, you can sort it based on any field that makes up your custom type. I wonder: 1) if this type of collection exists in java or it is a b4x implementation; 2) if it were the second case of the previous point, perhaps it would be possible: - 2a)...
  5. carlos7000

    Android Question Create a linked list as in C++ [solved]

    Hi. It is possible to create a linked list as in C ++. And perform search operations, insertion removal, etc. I need it to keep the last 20 items entered. Thanks
  6. Star-Dust

    B4J Library [B4X] [XUI] jSD_TreeList

    Version for Android, iOS, Desktop Required FontAweson SD_TreeList Author: Star-Dust Version: 0.06 B4XTree Events: Click (IDLeaf As String, LeafName As String) LongRightClick (IDLeaf As String, LeafName As String) Functions: Add (Name As String, IDBranch As String, FontAwesoneSymbol As...
  7. Star-Dust

    B4A Library [B4X] [XUI] SD_TreeList

    Version for Android, iOS, Desktop Required FontAweson SD_TreeList Author: Star-Dust Version: 0.06 B4XTree Events: Click (IDLeaf As String, LeafName As String) LongRightClick (IDLeaf As String, LeafName As String) Functions: Add (Name As String, IDBranch As String, FontAwesoneSymbol As...
  8. Yeskay

    Android Question Youtube videos list with thumbnail in an activity

    How to list an youtube channel videos list with thumbnail in an activity.
  9. KMatle

    B4J Tutorial [B4x] Exchange Data via OkHttpUtils and php (or other platforms) via lists, maps, arrays, etc.

    I made 7 examples how to exchange data between B4x apps and php. I use the POSTSTRING method as it is simple, secure (get-methods will be logged with the data autmatically on the server, post-methods not), strings can be formatted very easy (JSON) and en-/decrypted (not included but see my other...
  10. OliverA

    B4J Question For Each/Next List of Maps and references. What am I misunderstanding?

    B4J Version: 7.51 OS Platfrom: Win10 Pro (1903) JDK: 11.0.1 downloaded from B4X's site Here's the setup. I'm creating a list of maps that contain x, y values (note: in my case, the map contains way more info, I'm just simplifying it here to show the issue I'm running into) Dim largestX As...
  11. jimich

    B4J Question b4j kvs2 multi-column csv

    Good day to all, I have code below. Everything is ok except when using kvs.get(), which I could not get every item on the list. Thank you for your kind reply. 'Non-UI application (console / server application) #Region Project Attributes #CommandLineArgs: #MergeLibraries: True...
  12. Mashiane

    B4J Question How to get all enclosed strings with #?

    Hi there Let's assume, this is the master content.. Today #I# got to #experiment# #with# reef. I #needed# this to try #and# see if #I# can #wrap# it with #BANano#.png Now I need to return a list that will have I,experiment,with,needed,and,wrap,BANano And kindly need a code snippet for such...
  13. M

    Android Question Is there a way to create/return an explicit cast of a List/Map.

    Ex: Dim myLife as Map (As yearstring, As Wine) If myLife.Get("2019").IsTonsOfWine = True Then... Because I haven't found any with the IDE or in the forums. That would be a huuuuuuuuuuuuuuuuuuuuuuuge time saver I believe. Thanks !
  14. Mashiane

    B4J Question How to Unflatten List to a JSON Tree?

    Hi there Can anyone please help with a snippet to unflatten data into a json stree? For example, this is my list of records... Dim arr As List arr.Initialize arr.Add(CreateMap("id":1 ,"parentid" : 0)) arr.Add(CreateMap("id":4 ,"parentid" : 2)) arr.Add(CreateMap("id":3 ,"parentid" : 1))...
  15. MarkusR

    B4J Question List into hierarchy List

    hello, i need an idea. i have a item with property "A" and "B" A is parent from B or B is child from A from this items i have a list (it describes a status workflow from to) and i need to bring them to a hierarchy view but i don't know which is the root. X,Z A,B D,G Z,A B,D Output should...
  16. makis_best

    Android Question [SOLVED] Insert type into list

    Hi I am confused about how to insert a type into a list So far I have.... Sub Process_Globals Thelist As List TheList.initialize Type TheRT(Code As String, Description As String, Price As Double, Quantity As Double) Public ItemInfo As TheRT End Sub Sub...
  17. S

    B4A Class Get value from complex structure (combination of map, list, array)

    Hello, This is a module code to retrieve value from complex structure (combination of list, map, array and primitives types). Give the path with a dot (.) separator to get the value or the default value if not accessible. example : m=createmap("Name":"John" ,"Friends":array as...
  18. RobyLaga

    Android Question LIST Print

    Buongiorno, premetto ... che sono un "praticone", comunque vorrei sapere se è possibile inviare per Whatsapp una LIST ("filtrata") che genero in un modulo. dal Google traslator :-) practice = hobby pratico = passatempo Grazie
  19. A

    Android Question Item exist in list (by index)

    Hello, Does anybody know if there is a way to check if an item exists in a list, finding by index? for example: If list1.isexist(8) Then ...... End if Thanks in advance
  20. K

    Android Question list.size slowing down app

    I have json file which contain nearly 37000 record when I'm using : Dim list1 As List list1 = json.NextArray Dim exact_record As Int exact_record = list1.Size It slow down app. this work fine : Dim exact_record As Int exact_record = 38000 what i'm doing wrong?
Top