Rachbob Member Licensed User Dec 28, 2019 #1 hello I have a problem downloading more than one picture into imageviews. can anybody give help
aeric Expert Licensed User Longtime User Dec 28, 2019 #2 Please use code tags and post your code as text. You should check the job’s name in jobdone sub. B4X: Sub JobDone(job As HttpJob) If job.Success Then If job.Name = "job1" Then Imageview1.SetBackgroundImage(job.GetBitmap) Else If job.Name = "job2" Then Imageview2.SetBackgroundImage(job.GetBitmap) End If End If End Sub Upvote 0
Please use code tags and post your code as text. You should check the job’s name in jobdone sub. B4X: Sub JobDone(job As HttpJob) If job.Success Then If job.Name = "job1" Then Imageview1.SetBackgroundImage(job.GetBitmap) Else If job.Name = "job2" Then Imageview2.SetBackgroundImage(job.GetBitmap) End If End If End Sub
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2019 #4 The correct solution is: [B4X] OkHttpUtils2 with Wait For Upvote 0