SingleEvent

open class SingleEvent<out T>(content: T)

Constructors

Link copied to clipboard
constructor(content: T)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Returns the content and prevents its use again.

Link copied to clipboard
fun peekContent(): T

Returns the content, even if it's already been handled.