ATAT. Image Loading Libraries

We can not image our life without one of these image libraries.

There are many third parties library that are “must have” libraries that are extremely popular and are often used in almost any android project. This part is for image loading. This blog is a part of Android Tips And Tricks (ATAT) for Building a Robust Android App Series.

Android Third Parties Series :

  1. Android Support Libraries
  2. Android Architecture Components Libraries
  3. Google Play Services Libraries
  4. Firebase Libraries
  5. HTTP requests and Dependency Injection Libraries
  6. Reactive Programming and Memory Leaks Libraries
  7. Serialize and Deserialize Libraries
  8. Image Loading Libraries <== HERE
  9. Where can I get the library I want?
  10. The Last Page Ends with ADVICE!

1. Picasso

A powerful image downloading and caching library for Android. Displaying images is easiest using a third party library such as Picasso from Square which will download and cache remote images and abstract the complexity behind an easy to use DSL.

implementation 'com.squareup.picasso:picasso:2.71828'

Some Useful Links And Tutorials : The best practice to get familiar with anything is by doing to by reading. So, here I am collecting a very useful links and tutorials for Picasso to start using them and the best practices for making them useful at your application.

2. Glide

Glide is a fast and efficient open source media management and image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.

It supports fetching, decoding, and displaying video stills, images, and animated GIFs. Glide’s primary focus is on making scrolling any kind of a list of images as smooth and fast as possible, but Glide is also effective for almost any case where you need to fetch, resize, and display a remote image.

implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'

Some Useful Links And Tutorials : The best practice to get familiar with anything is by doing to by reading. So, here I am collecting a very useful links and tutorials for Glide to start using them and the best practices for making them useful at your application.

3. Fresco

Fresco is a powerful system for displaying images in Android applications. It takes care of image loading and display, so you don’t have to. It will load images from the network, local storage, or local resources, and display a placeholder until the image has arrived. It has two levels of cache; one in memory and another in internal storage.

implementation 'com.facebook.fresco:fresco:1.10.0'

Some Useful Links And Tutorials : The best practice to get familiar with anything is by doing to by reading. So, here I am collecting a very useful links and tutorials for Glide to start using them and the best practices for making them useful at your application.

The next blog we will talk about Where I can get the library I want?