class EventObserver<T> : Observer<Event<T>>
An Observer for Events, simplifying the pattern of checking if the Event's content has already been handled.
onEventUnhandledContent is only called if the Event's contents has not been handled.
<init> |
An Observer for Events, simplifying the pattern of checking if the Event's content has already been handled. EventObserver(onEventUnhandledContent: (T) -> Unit) |
onChanged |
fun onChanged(event: Event<T>?): Unit |