Created
March 1, 2020 20:06
-
-
Save lordcodes/52dd751d2100274b5e0d6875ea59f41a to your computer and use it in GitHub Desktop.
Code for the article: "The power of lazy properties in Kotlin"
This file contains 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
private val messageId by lazy(LazyThreadSafetyMode.NONE) { createMessageId() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment