toggle menu
kvcache
androidJvm
switch theme
search in API
kvcache
/
com.king.kvcache.cache
/
ICache
/
getParcelable
get
Parcelable
abstract
fun
<
T
:
Parcelable
>
getParcelable
(
key
:
String
,
tClass
:
Class
<
T
>
)
:
T
?
根据
key
获取缓存的值,如果未获取到,则返回空
Parameters
key
键
t
Class
值对应的
Class
abstract
fun
<
T
:
Parcelable
>
getParcelable
(
key
:
String
,
tClass
:
Class
<
T
>
,
defValue
:
T
?
)
:
T
?
根据
key
获取缓存的值,如果未获取到,则返回默认值
defValue
Parameters
key
键
t
Class
值对应的
Class
def
Value
默认值