ursus
02/14/2024, 5:14 PMCoil
would pick it up.
However in this case, the images are sensitivy and cannot be serialized to disc (without encryption & for now I cannot be bothered)
Would you put a Bitmap
into your viewmodel's state and emit it down to compose?
or just have some sort of string key in state to access a memory "cache" (Map<String, Bitmap>
)
i.e. cache is being accessed statically inside the composable
TLDR; is passing Bitmap
as a @Composable
parameter safe/advised?