Is it expected that Android's (AppCompat)ImageViews do not cache drawable resources? We've got a page which has a fixed drawable background image (a 1920x1080 drawable) which can occur multiple times on the backstack. We kind of expected these drawables to be converted to a bitmap once and then reused, but that does not seem to happen. Given that each image is ~33MB decompressed in memory, we were looking at what are options were to make sure that this background only needs to be stored once. Is there any way to do this with the stock ImageViews or do we have to use Picasso/Glide? We'd prefer to use stock ImageViews as the drawables are currently specified directly in the xml layout files, which means that we can avoid the background "flickering" after it gets loaded asynchronously.
not kotlin but kotlin colored 2