从网页上获取图像以在Android应用图片视图中显示的最佳方法是什么? [关闭]

Im stuck and out of ideas. Does anyone know the easiest way of getting a image from a webpage and using it on your android app. Help will be appreciated.

  1. Picasso allows for hassle-free image loading in your application—often in one line of code.

    Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);
    
  2. Glide, An image loading and caching library for Android focused on smooth scrolling.

    Glide.with(this).load("http://i.imgur.com/DvpvklR.png").into(imageView);
    

I prefer Picasso. Once you have the library its really easy to pull images from anywhere online and include it into the app. Here's an easy to follow guide on setting it up to put an image from online into an imageview in your app. Good luck

P.S. This could be found within seconds of searching on Google.