The solution....
Sub DownloadImage(Link As String, mypic As B4XView)
Dim job As HttpJob
job.Initialize("", Me) 'note that the name parameter is no longer needed.
job.Download(Link)
Wait For JobDone(job As HttpJob)
If job.Success Then
'myButton.SetBackgroundImage (job.GetBitmap)
Dim img As B4XBitmap = job.GetBitmap
'mypic.SetBitmap(sp.CreateRoundBitmap(img, mypic.Width))
Dim xIV As B4XView = mypic
xIV.SetBitmap(sp.CreateRoundBitmap(img, xIV .Width))
End If
job.Release
End Sub