iOS Question Threads in B4i

Mwinsor

Member
Licensed User
Longtime User
There have been a couple of threads regarding threading in B4i but I haven't been clear as to their exact meaning. Here is my issue. In B4A I use the Threading library to get data from our server. The situation is this. We have a 4000 product order form monthly. In B4A I download a few pages of the order form, display them, and use the background thread in the threading library to retrieve the rest to my list. The user pages from one page to another so they generally never see a lag. If they happen to jump to an item that hasn't been downloaded yet, it waits until the background thread is finished loading the rest of the items. This approach seems to minimize the time required to display the screen without adversely affecting the navigation. "What is the best/is there a" way to accomplish this?
 

Mwinsor

Member
Licensed User
Longtime User
So if I get the first 60 items, display my screen, then submit a url to get the other 3900 items the user will still be able to navigate around while they are being processed? I assume there will be a lag after the network request is done and I am adding the results to my list but I think I can live with that.
 
Upvote 0
Top