how to set image from url for imageView

后端 未结 10 1777
礼貌的吻别
礼貌的吻别 2020-11-28 08:18

I wanna set Image in ImageView using Url for example I have this url

http://www.google.iq/imgres?hl=en&biw=1366&bih=667&tbm=isch&tbni

10条回答
  •  天涯浪人
    2020-11-28 08:52

    You can use either Picasso or Glide.

    Picasso.with(context)
       .load(your_url)
       .into(imageView);
    
    
    Glide.with(context)
       .load(your_url)
       .into(imageView);
    

提交回复
热议问题