EventBus

class EventBus<T>

Class to wrap the Events needed for navigating between screens

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
inner class LifecycleBoundObserver(val owner: LifecycleOwner, val observer: Observer<T>) : LifecycleEventObserver

Functions

Link copied to clipboard
fun observe(owner: LifecycleOwner, observer: Observer<T>)
inline fun observe(owner: LifecycleOwner, crossinline onChanged: (T) -> Unit): Observer<T>
Link copied to clipboard
fun publish(t: T)
Link copied to clipboard