Created
November 20, 2023 14:11
-
-
Save CostaFot/1e239075bc519dd01c68e56517edb068 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class SingleLiveEvent<out T>( | |
private val content: T, | |
private val id: String = UUID.randomUUID().toString() | |
) { | |
// same as before | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment