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
mattinger
09/20/2019, 3:19 PM
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.
mattinger
09/20/2019, 3:19 PM
Simply using .load(resourceId) is as efficient as it will likely get