//library/ss_n.common_ktx.observer/Event
[androidJvm]
open class Event<out T>(content: T)
https://medium.com/androiddevelopers/livedata-with-snackbar-navigation-and-other-events-the-singleliveevent-case-ac2622673150
Event | [androidJvm] fun <out T> Event(content: T) |
Name | Summary |
---|---|
getContentIfNotHandled | [androidJvm] fun getContentIfNotHandled(): T? Returns the content and prevents its use again. |
Name | Summary |
---|---|
hasBeenHandled | [androidJvm] var hasBeenHandled: Boolean = false |