toggle menu
vice-sources
0.9.7
common
switch theme
search in API
vice-sources
/
com.eygraber.vice.loadable
Package-level
declarations
Types
Functions
Properties
Types
Vice
Loadable
Link copied to clipboard
@
Immutable
sealed
interface
ViceLoadable
<
T
>
Properties
is
Loaded
Link copied to clipboard
val
ViceLoadable
<
*
>
.
isLoaded
:
Boolean
is
Loading
Link copied to clipboard
val
ViceLoadable
<
*
>
.
isLoading
:
Boolean
is
Not
Loaded
Link copied to clipboard
val
ViceLoadable
<
*
>
.
isNotLoaded
:
Boolean
is
Not
Loading
Link copied to clipboard
val
ViceLoadable
<
*
>
.
isNotLoading
:
Boolean
loaded
Value
Or
Null
Link copied to clipboard
val
<
T
>
ViceLoadable
<
T
>
.
loadedValueOrNull
:
T
?
Functions
map
Link copied to clipboard
inline
fun
<
T
,
R
>
ViceLoadable
<
T
>
.
map
(
mapper
:
(
T
)
->
ViceLoadable
<
R
>
)
:
ViceLoadable
<
R
>
map
Value
Link copied to clipboard
inline
fun
<
T
,
R
>
ViceLoadable
<
T
>
.
mapValue
(
mapper
:
(
T
)
->
R
)
:
ViceLoadable
<
R
>