configure

fun configure(application: SpeziApplication)

Constructs the DependenciesGraph out of the Configuration of SpeziApplication, registers ApplicationModule module and invokes Module.configure on all registered modules in the graph.

Note that there is no need to call this method directly, as it is invoked automatically on app start up time by Spezi Framework, This method can be used to rebuild the dependency graph in case of a configuration change.

Parameters

application

the SpeziApplication instance to configure


Constructs the DependenciesGraph out of the Configuration of SpeziApplication, registers ApplicationModule module and invokes Module.configure on all registered modules in the graph.

Note that there is no need to call this method directly, as it is invoked automatically on app start up time by Spezi Framework, This method can be used to rebuild the dependency graph in case of a configuration change.

Parameters

scope

the configuration block to configure the DependenciesGraph