common-ktx

//library/ss_n.common_ktx.observer/Event

Event

[androidJvm]
open class Event<out T>(content: T)

https://medium.com/androiddevelopers/livedata-with-snackbar-navigation-and-other-events-the-singleliveevent-case-ac2622673150

Constructors

   
Event [androidJvm]
fun <out T> Event(content: T)

Functions

Name Summary
getContentIfNotHandled [androidJvm]
fun getContentIfNotHandled(): T?
Returns the content and prevents its use again.

Properties

Name Summary
hasBeenHandled [androidJvm]
var hasBeenHandled: Boolean = false