Android Question Getting sequence in my subs

m643

Member
Licensed User
Longtime User
Hi All,

I'm reading records from a Mysql database and store it locally in the sqlite database. Then I want to add from my local db the items into the custom listview.
The problem is that reading from the sqlite db is not working well because it needs first getting the records from the mysql db.

So my quetion is how can I getting a sequence in my subs, so it will first getting the mysql records and when that is done its needs to read from the sqllite and add the items into the listview?

Thank you.
 

m643

Member
Licensed User
Longtime User
In this case 79 images. But what I already said when I define 600 Images in the activity Main it is going well, but when I fill the map thumbnails from the service remotesql it downloads 4 images,sometimes 8.
 
Upvote 0

m643

Member
Licensed User
Longtime User
Hi Erel,

I reproduced the issue with downloading the images. I used the clean Image Downloader code add mine.
Could you please take a look for me? It still have this problem and can't find a solution.
 

Attachments

  • ImagedownloaderIssue.zip
    10.2 KB · Views: 208
Upvote 0
Top