Tested. Works great (after I updated B4J from the Beta 10.5 to final 10.5 -> to accommodate 'Sublist').
I particularly like the List of Maps feature and the integration with JSON.
I'll be using LOA for passing and returning lists of named results from Subs.
It makes it easy to pass variable length and named arguments to a Sub.
A second suggestion (I used up all my requests ).
If in the future it is decided to implement the [..] and {..} notation it would be nice to have a list argument
that is automatically converted to an Array() argument where needed.
i.e.
B4X:
If arg Is List Then argarray = LOAUtils.ListToArray(arg) Else argarray = arg
If in the future it is decided to implement the [..] and {..} notation it would be nice to have a list argument
that is automatically converted to an Array() argument where needed.
A second suggestion (I used up all my requests ).
If in the future it is decided to implement the [..] and {..} notation it would be nice to have a list argument
that is automatically converted to an Array() argument where needed.
i.e.
B4X:
If arg Is List Then argarray = LOAUtils.ListToArray(arg) Else argarray = arg
I use Maps and List a lot. I love CreateMap() function. However, sometimes I think it has a bit more characters (9). I think the ideal length is 3 to 5 max. I am not complaining during typing since we have auto-complete but when reading as code, I feel a bit uneasy. 🥲 Can we have a clone of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.