bumptech / bumptech/glide

Glide Custom Cache key

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

Description

I load image by using load(customModel) instead of load(imageUrl) directly,and there are some extra data in the custom model,like uid and imageurl etc...,and In the class customLoader which implements ModelLoader class,I use uid in the customModel class as the cache key,like ObjectKey(model.uid),now I have a problem,after several days,when I load image ,I can't hit the disk cache and have to load image from network again.I don't know why

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.