Rachel
Toggle table of contents
3.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.cache
/
love.yinlin.compose.cache
/
LruStateCache
Lru
State
Cache
class
LruStateCache
<
S
:
Any
,
V
:
Any
>
(
maxSize
:
Int
,
key
:
(
S
)
->
Any
,
fetcher
:
suspend
(
source
:
S
)
->
V
)
可追踪状态的LruCache
Members
Constructors
Lru
State
Cache
Link copied to clipboard
constructor
(
maxSize
:
Int
,
key
:
(
S
)
->
Any
,
fetcher
:
suspend
(
source
:
S
)
->
V
)
Functions
get
Link copied to clipboard
@
Composable
operator
fun
get
(
source
:
S
)
:
V
?