How to pre-cache images using Glide ?, i want to p...
# android
k
How to pre-cache images using Glide ?, i want to pre cache images from
res/drawable
folder. sorry i know it not related to kotlin but i'm unable to find good answer
stackoverflow 8
m
Glide does it’s own caching out of the box, but having thigns in res/drawable is about as cached as you’re going to get unless you want to occupy a mess of memory, which is probably not desirable.
Simply using .load(resourceId) is as efficient as it will likely get