LazyDynamicBundleDelegate

open class LazyDynamicBundleDelegate(val lazyPrefix: () -> String?, val functions: Array<out () -> Any?>) : DynamicBundleDelegate

Similar to DynamicBundleDelegate but the prefix is computed lazily. If lazyPrefix returns null, a placeholder value is returned, and lazyPrefix will be called again on next access.

See also

Constructors

Link copied to clipboard
fun LazyDynamicBundleDelegate(lazyPrefix: () -> String?, functions: Array<out () -> Any?>)

Functions

Link copied to clipboard
open operator override fun getValue(thisRef: Any?, property: KProperty<*>): String

Properties

Link copied to clipboard
var cachedOutput: String? = null
Link copied to clipboard
val functions: Array<out () -> Any?>?
Link copied to clipboard
val lazyPrefix: () -> String?
Link copied to clipboard
Link copied to clipboard