toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
tools
/
com.ave.vastgui.tools.network.response
/
ResponseMutableLiveData
Response
Mutable
Live
Data
class
ResponseMutableLiveData
<
T
>
:
ResponseLiveData
<
T
>
Response mutable live data
Since
0.3.0
Members
Constructors
Response
Mutable
Live
Data
Link copied to clipboard
constructor
(
)
constructor
(
value
:
T
)
Functions
change
State
Link copied to clipboard
fun
changeState
(
s
:
ResponseLiveData.State
)
clear
State
Link copied to clipboard
fun
clearState
(
)
post
Empty
Link copied to clipboard
fun
postEmpty
(
)
post
Error
Link copied to clipboard
@
JvmOverloads
fun
postError
(
t
:
Throwable
?
=
null
)
post
Failed
Link copied to clipboard
@
JvmOverloads
fun
postFailed
(
errorCode
:
Int
?
=
null
,
errorMsg
:
String
?
=
null
)
post
Success
Link copied to clipboard
fun
postSuccess
(
)
post
Value
And
Success
Link copied to clipboard
fun
postValueAndSuccess
(
value
:
T
)
set
Value
And
Success
Link copied to clipboard
@
MainThread
fun
setValueAndSuccess
(
value
:
T
)