toggle menu
compose-imageLoader
1.7.0
common
switch theme
search in API
image-loader
/
com.seiko.imageloader.intercept
/
InterceptorsBuilder
/
memoryCache
memory
Cache
fun
memoryCache
(
mapToMemoryValue
:
(
ImageResult
)
->
Bitmap
?
=
{ (it as? ImageResult.OfBitmap)?.bitmap }
,
mapToImageResult
:
(
Bitmap
)
->
ImageResult
?
=
{ ImageResult.OfBitmap(it) }
,
block
:
(
)
->
MemoryCache
<
MemoryKey
,
Bitmap
>
)