CommandDelegate

class CommandDelegate(supplier: () -> Command) : ReadOnlyProperty<Any?, Command>

Property delegate to initialize a new command instance on every access.

Parameters

supplier

The command supplier

Constructors

Link copied to clipboard
constructor(supplier: () -> Command)

Functions

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