I am using glide to load images from URL. While I am fetching the images I am showing a loader in the image view. Some of the images being fetched are larger and therefore
You can use this method of the new version of glide
.timeout(60000)
the final code sample will be:
Glide.with(imageView.getContext()) .load(finalUrl) .timeout(60000) .placeholder(R.drawable.place_holder) .into(imageView);