toggle menu
JchuComponents
androidJvm
switch theme
search in API
jchucomponents-core
/
com.jeluchu.jchucomponents.utils.network.models
/
Resource
Resource
sealed
class
Resource
<
out
E
,
out
T
>
Inheritors
Success
Error
Loading
Members
Types
Error
Link copied to clipboard
class
Error
<
E
>
(
error
:
E
)
:
Resource
<
E
,
Nothing
>
Loading
Link copied to clipboard
class
Loading
:
Resource
<
Nothing
,
Nothing
>
Success
Link copied to clipboard
class
Success
<
T
>
(
data
:
T
)
:
Resource
<
Nothing
,
T
>
Properties
data
Link copied to clipboard
val
data
:
T
?
=
null
error
Link copied to clipboard
val
error
:
E
?
=
null