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