https://kotlinlang.org logo
#compose
Title
# compose
s

shikasd

02/26/2020, 2:56 AM
hey, I was going through utilities for loading resources and noticed that the
loadImageResource
method has some kind of lru cache inside for loaded results (used in
loadResourceInternal
), but it never updates that cache in dev-05
not sure what's in dev05 off the top of my head
s

shikasd

02/26/2020, 3:26 AM
It seems to me that it does for requests here, so if you have two concurrent requests, they do not repeat. But two lines above it uses
resourceCache
which never gets updated.
r

Ryan Mentley

02/26/2020, 10:44 AM
huh...you're right, that does look like a bug.
4 Views