ResourceRef

class ResourceRef<T : Any>(val cache: ResourceCache = ResourceCache.GLOBAL, val gen: suspend Resources.() -> T)

Constructors

Link copied to clipboard
constructor(cache: ResourceCache = ResourceCache.GLOBAL, gen: suspend Resources.() -> T)

Properties

Link copied to clipboard
Link copied to clipboard
val gen: suspend Resources.() -> T

Functions

Link copied to clipboard
operator fun getValue(resourcesContainer: ResourcesContainer, property: KProperty<*>): Resource<T>