toggle menu
compose-imageLoader
1.7.0
android
common
darwin
desktop
switch theme
search in API
image-loader
/
com.seiko.imageloader.cache.memory
Package-level
declarations
Types
Functions
Types
Memory
Cache
Link copied to clipboard
interface
MemoryCache
<
K
,
V
>
Memory
Cache
Builder
Link copied to clipboard
class
MemoryCacheBuilder
<
K
:
Any
,
V
:
Any
>
Memory
Key
Link copied to clipboard
typealias
MemoryKey
=
String
Functions
max
Size
Percent
Link copied to clipboard
android
darwin
desktop
fun
<
K
:
Any
,
V
:
Any
>
<Error class: unknown class>
<
K
,
V
>
.
maxSizePercent
(
context
:
Context
,
percent
:
Double
=
context.defaultMemoryCacheSizePercent()
)
fun
<
K
:
Any
,
V
:
Any
>
MemoryCacheBuilder
<
K
,
V
>
.
maxSizePercent
(
percent
:
Double
=
STANDARD_MEMORY_MULTIPLIER
)
fun
<
K
:
Any
,
V
:
Any
>
<Error class: unknown class>
<
K
,
V
>
.
maxSizePercent
(
percent
:
Double
=
STANDARD_MEMORY_MULTIPLIER
)
Memory
Cache
Link copied to clipboard
fun
<
K
:
Any
,
V
:
Any
>
MemoryCache
(
valueHashProvider
:
(
V
)
->
Int
,
valueSizeProvider
:
(
V
)
->
Int
,
block
:
MemoryCacheBuilder
<
K
,
V
>
.
(
)
->
Unit
)
:
MemoryCache
<
K
,
V
>