bumptech / bumptech/glide

there is a delay in loading images while using a sprite image to show thumbnail images for content.

Open
#5,008 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**Glide Version**:4.9.0

**Integration libraries**:[retrofit2](retrofit:2.3.0)

**Device/Android Version**:Android devices

**Issue details / Repro steps / Use case background**: when loading the images to show as thumbnails in the player like YouTube/ Netflix, when fast forwarding the images are not loading faster. I am using last loaded image as place holder, hence looks like we are showing same thumbnail for longer time. I am also preloading the images to make them render faster. please help me.

**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
at the start of fragment since i have a list of images i use the below code
for(int i=0;i
**Layout XML**:
```xml
this is the part of the layout where I use the image view.
......
....
...




```

**Stack trace / LogCat**:
```ruby
No error message
```

correct functionality
https://drive.google.com/file/d/12is3PI18rGCGF9jLmNpzxo9-iP5HH7s_/view?usp=share_link

slow loding
https://drive.google.com/file/d/1HONTTTv72z6pxjJnszva1B4EZhcR4qxR/view?usp=share_link

example of a sprite image:
https://www.bing.com/images/search?view=detailV2&ccid=LU6xPDps&id=0EFFD43A7EB272526D1E2D9D1274A940F95578AA&thid=OIP.LU6xPDpscVhGUiBPHBesPwHaFU&mediaurl=https%3a%2f%2fi.stack.imgur.com%2fmcypN.jpg&exph=935&expw=1300&q=how+to+load+sprite+images+using+glide&simid=608029221910420395&FORM=IRPRST&ck=BE753E970BF66E5D5AB8D8ED28AD7746&selectedIndex=110&ajaxhist=0&ajaxserp=0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.