in my app, i create a list by adding items from a table in an online db. I then show these items in my app (its an image and a label). Sometimes the table has only one item, though this item is added in the list, it is not shown in my app.
How can i display the item even if the list has one item only?
B4X:
For i=0 To listd.Size-1
Dim components() As String
components = Regex.Split(";", listd.Get(i))
log(components(0))'the log here displays properly
Dim lblNameVer As Label 'this is also loaded with the designer, so i did not initialize
lblNameVer.Text=components(0)'this does not show if there's one item in the list, it only shows if i have more than 1 item
Next
How can i display the item even if the list has one item only?