Learn Pain Less

HomeOur TeamContact
Android
Show progress while loading images with Glide
Pawneshwer Gupta
Pawneshwer Gupta
October 30, 2016
1 min

Table Of Contents

01
Show Progress Count while loading big images using Glide :
02
screenshot
Show progress while loading images with Glide

This is Glide tutorial for Android to load images from url and show progress count while Glide loading big images. Loading images with Glide are easy and best solution, because Glide store images in cache same as Picasso library. Using Glide library is better than own implementation and show images on ImageView. And you are reading this tutorial because you know about Glide and how to use Glide to load Images efficiently on Android from URL.

ok so lets focus on our main topic about how to display progress count while Glide is Loading big images. As you know Glide doesn’t provide any Interface which will notify Progress count. So we have to use OkHttp with Glide, so that we can get Download progress count.

Show Progress Count while loading big images using Glide :

for this we can use OkHttp Library and OkHttp Integration for Glide.

so add below libraries to your project.

Now we need to create an Interface which will give progress count from OkHttp to our activity.

below is whole code of my activity:

and below is code of my xml file.

screenshot

Show progress while loading images with Glide
Show progress while loading images with Glide

Subscribe to our newsletter!

We'll send you the best of our blog just once a month. We promise.

Tags

glideokhttpimage loading

Share


Pawneshwer Gupta

Pawneshwer Gupta

Software Developer

Pawneshwer Gupta works as a software engineer who is enthusiastic in creating efficient and innovative software solutions.

Expertise

Python
Flutter
Laravel
NodeJS

Social Media

Related Posts

How to use Text To Speech inside RecyclerView in Android
How to use Text To Speech inside RecyclerView in Android
July 27, 2020
1 min
Learn Pain Less  © 2024, All Rights Reserved.
Crafted with by Prolong Services

Quick Links

Advertise with usAbout UsContact Us

Social Media