There a lot libraries for loading images. Lets talk about couple of them.

  1. Picasso (http://square.github.io/picasso/)

dependency

This library easy to use. To load image from url to ImageView you need do just one line.

Current library have a features which can be useful for your app:

    • Image transformation

    • Placeholder for progress and error. Useful to show some drawable if downloading failed or in progress

    • Using Picasso you can load images from resources, file or web

  1. Glide (https://github.com/bumptech/glide)

Current library is recommended by Google.

dependency

Usage:

Also Glide has a features:

I use Glide because:
1. Faster than Picaso
2. Have better “.with()” method. Glide.with(this) can take Context, Fragment, Activity, etc.

Currently Glide better Image loader library.

Awaiting your comments.


1 Comment

Sergii · 19 May, 2016 at 09:24

Speed: Picasso.fit() does what Glide does by default.

Fragments, loaders, volley, dagger 2 are also recommended by Google.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.