I've tried multiple ways to change the value of a text box nested in this for each loop to a different value based on the number of images downloaded from a website.
Maybe it because Ive spent too long looking at the screen that it hurts that I cant figure it out.
Maybe it because Ive spent too long looking at the screen that it hurts that I cant figure it out.
B4X:
Sub BuildItems
If links.Size = 0 Then Return
CLV4.Clear
Dim m As Map
m.Initialize
Dim t As Map
t.Initialize
For Each link As String In links
Dim p As B4XView = xui.CreatePanel("")
p.Width = MainPage.RootPanel.Width
Dim height As Int = 260dip
p.SetLayoutAnimated(0, 1, 0, MainPage.RootPanel.Width, height)
p.LoadLayout("BelowZero")
CLV4.Add(p, link)
jobody.Text = "" '<!-- Issue is I cant seem to add values
m.Put(joimg, link)
Next
Downloader.Download(m)
End Sub