Hi all, i need some help with array of strings *-*
i made this to try add links at array and later put on
but this add only one image
when i try to make
this make this log
url
url
url
url
but now, how can i make to add all UrlS from loop to one array ?
i made this to try add links at array and later put on
B4X:
GridView.ShowFromWeb(s,False)
B4X:
Dim s() As String
Dim Amount As Int = NotSent.Get("Amount")
Dim Thumbnails As List = NotSent.Get("Thumbnails")
For Each colThumbnails As Map In Thumbnails
Dim UrlS As String = colThumbnails.Get("Url")
For i=0 To Amount
s = Array As String(UrlS)
Next
Dim PhotoID2 As String = colThumbnails.Get("PhotoID")
Next
GridView.ShowFromWeb(s,False)
but this add only one image
when i try to make
B4X:
Dim Amount As Int = NotSent.Get("Amount")
Dim Thumbnails As List = NotSent.Get("Thumbnails")
For Each colThumbnails As Map In Thumbnails
Dim UrlS As String = colThumbnails.Get("Url")
Log(UrlS)
Dim PhotoID2 As String = colThumbnails.Get("PhotoID")
Next
this make this log
url
url
url
url
but now, how can i make to add all UrlS from loop to one array ?
Last edited: