kotlin.Lazy

Lazy

interface Lazy<out T>

Represents a value with lazy initialization.

To create an instance of Lazy use the lazy function.

Properties

value

abstract val value: T

Gets the lazily initialized value of the current Lazy instance. Once the value was initialized it must not change during the rest of lifetime of this Lazy instance.

登录查看完整内容