Android Question b4xImageView

Status
Not open for further replies.

jaber103

Member
hi i want use urlpath for b4xImageView please help me . how to do?
and this cod
Picasso.Initialize
Picasso.LoadUrl(adrespic).IntoImageView(ImageView1)
for imageview works
i want like this cod . tanks
 

Alexander Stolte

Expert
Licensed User
Longtime User
B4X:
Sub DownloadImage(Link As String, iv As ImageView)
   Dim j As HttpJob
   j.Initialize("", Me)
   j.Download(Link)
   Wait For (j) JobDone(j As HttpJob)
   If j.Success Then
     iv.Bitmap = j.GetBitmap
   End If
   j.Release
End Sub
 
Upvote 0
Status
Not open for further replies.
Top