SDK-Android
libux
/
io.mimi.sdk.ux.flow
/
EventBus
Event
Bus
class
EventBus
<
T
>
Content copied to clipboard
Class to wrap the Events needed for navigating between screens
Types
Constructors
Functions
Constructors
Event
Bus
Link copied to clipboard
fun
EventBus
(
)
Content copied to clipboard
Types
Lifecycle
Bound
Observer
Link copied to clipboard
inner
class
LifecycleBoundObserver
(
val
owner
:
LifecycleOwner
,
val
observer
:
Observer
<
T
>
)
:
LifecycleEventObserver
Content copied to clipboard
Functions
observe
Link copied to clipboard
@
MainThread
fun
observe
(
owner
:
LifecycleOwner
,
observer
:
Observer
<
T
>
)
Content copied to clipboard
@
MainThread
inline
fun
observe
(
owner
:
LifecycleOwner
,
crossinline
onChanged
:
(
T
)
->
Unit
)
:
Observer
<
T
>
Content copied to clipboard
publish
Link copied to clipboard
fun
publish
(
t
:
T
)
Content copied to clipboard
remove
Observer
Link copied to clipboard
fun
removeObserver
(
wrapper
:
EventBus.LifecycleBoundObserver
<
T
>
)
Content copied to clipboard