DITrigger

class DITrigger

A trigger is used to force retrieval at a given time rather than at first property access.

  1. Set a trigger to DIAware.diTrigger.

  2. When you want retrieval to happen, call trigger.

Constructors

DITrigger
Link copied to clipboard
common
fun DITrigger()

Functions

trigger
Link copied to clipboard
common
fun trigger()
Trigger retrieval of all properties that are registered in properties.

Properties

properties
Link copied to clipboard
common
val properties: MutableList<Lazy<*>>
All properties that will be retrieved when the trigger happens.