Skip to content

Glide Custom Cache key #5478

@CupidChow

Description

@CupidChow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions