This post is about image loading libraries, which could help us in avoiding complex codes.
Downloading of images, caching and reusing of images are know part of all the application and it became part of developers life. While doing this process, We need to consider few things...
There are more libraries in the market which helps us in avoiding to do all these exercises and here I am going to discuss about Picasso and Glide. Where this two libraries looks similar in the way of implementation and Its easy to integrate in the middle of the application, since its a just a one line code to load image.
Downloading of images, caching and reusing of images are know part of all the application and it became part of developers life. While doing this process, We need to consider few things...
- Loading process should be asynchronously.
- Image should display when it is loaded successfully, In case if it is not downloaded then placing some place holders.
- Caching Image rather than downloading every time.
There are more libraries in the market which helps us in avoiding to do all these exercises and here I am going to discuss about Picasso and Glide. Where this two libraries looks similar in the way of implementation and Its easy to integrate in the middle of the application, since its a just a one line code to load image.
There are lot of features in the
two libraries and few are listed below, where I can compare them
easily.