toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
tools
/
com.ave.vastgui.tools.network.response
/
ResponseLiveData
Response
Live
Data
abstract
class
ResponseLiveData
<
T
>
:
LiveData
<
T
>
Inheritors
ResponseMutableLiveData
Members
Constructors
Response
Live
Data
Link copied to clipboard
constructor
(
)
constructor
(
value
:
T
)
Types
State
Link copied to clipboard
sealed
class
State
State
Listener
Link copied to clipboard
inner
class
StateListener
State
Observer
Link copied to clipboard
inner
class
StateObserver
:
MutableLiveData
<
ResponseLiveData.State
>
Properties
state
Link copied to clipboard
private
val
state
:
ResponseLiveData.StateObserver
<
T
>
Functions
get
State
Link copied to clipboard
protected
fun
getState
(
)
:
ResponseLiveData.StateObserver
<
T
>
observe
State
Link copied to clipboard
fun
observeState
(
owner
:
LifecycleOwner
,
listener
:
ResponseLiveData.StateListener
<
T
>
.
(
)
->
Unit
)
Observe state.