iOS Question iTableview problem

mrossen

Active Member
Licensed User
Hi,

I have made a sample project using iTableview based on the iTableview tutorial.
I then fetch data from a mysql base and then trying to put data to iTableview.
I can put data before fetching from mysql but after I cannot.

I attached sample project.

can anyone see what is wrong?
 

Attachments

Pendrush

Well-Known Member
Licensed User
Try this

B4X:
Sub getChars
   
   For c = 65 To 90
     TableViewChar.AddSingleLine(Chr(c))
   Next
   TableViewChar.ReloadAll
   
End Sub


Sub getCars

   For i = 0 To brand_cars.Size - 1
     mAll = brand_cars.Get(i)
     
      Log(mAll.Get("brand") & " "  & mAll.Get("model") & " / " & mAll.Get("engine") & " / " & mAll.Get("yearfrom"))
     
      TableViewCars.AddSingleLine(mAll.Get("brand") & " "  & mAll.Get("model") & " / " & mAll.Get("engine") & " / " & mAll.Get("yearfrom"))
   Next
   TableViewCars.ReloadAll 

End Sub
 
Top