How to pass an array to postring? I have an xcustomlistview and I want to add the items in a poststring using okhttputils.
This is the string I'm going to use (I just added the string with array only):
B4X:
'APIConnection is httpjob
APIConnection.PostString($"${URL}${Path}"$, $"dependants=${this is where the array should be place}"$)
In my xcustomlistview, I have 5 textboxes in each row. How can I do this? And how to concatenate smart string? because the string I am going to use is too long. I want to cut it without using a new line.
Do a search for CustomListView (and maybe CLVSelections). There is complete information on both of those on this web site and forum, as well as comprehensive examples.
In part, you will do something like this:
B4X:
Sub clv_Categories_ItemClick (Index As Int, Value As Object)
Dim ctl As String = clv_Categories.GetPanel(Index).GetView(0).Text
There is probably a better way to do it, but I'm in the beginning stages and refactoring comes later. ?
Do a search for CustomListView (and maybe CLVSelections). There is complete information on both of those on this web site and forum, as well as comprehensive examples.
In part, you will do something like this:
B4X:
Sub clv_Categories_ItemClick (Index As Int, Value As Object)
Dim ctl As String = clv_Categories.GetPanel(Index).GetView(0).Text
There is probably a better way to do it, but I'm in the beginning stages and refactoring comes later. ?
What was the solution, as that thread you linked has nothing to do with your problem of "how can I get the text in each textboxes (b4xfloattextfield) inside the customlistview's rows."