package Ġcom . my company . myapp . app Ċ Ċ import Ġcom . my company . myapp . data . Data Module Ċ import Ġcom . my company . myapp . modules . Crash Reporter Module Ċ import Ġcom . my company . myapp . monitoring . Logger Module Ċ import Ġcom . my company . myapp . ui . main . Main Component Ċ import Ġcom . my company . myapp . ui . main . Main Component . Main Module Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton Ċ Ċ // ĠGENER ATOR Ġ- ĠMO RE ĠIMPORT S Ġ// Ċ Ċ @ Singleton Ċ @ Component ( modules Ġ= ĠarrayOf ( ĊĠĠĠĠĠĠĠ ĠVariant Module :: class , ĊĠĠĠĠĠĠĠ ĠAndroid Module :: class , ĊĠĠĠĠĠĠĠ ĠApp Module :: class , ĊĠĠĠĠĠĠĠ ĠLogger Module :: class , ĊĠĠĠĠĠĠĠ ĠCrash Reporter Module :: class , ĊĠĠĠĠĠĠĠ ĠData Module :: class )) Ċ interface ĠApplication Component Ġ: ĠVariant Application Component Ġ{ ĊĠĠĠ Ġfun Ġmain Component ( module : ĠMain Module ): ĠMain Component ĊĠĠĠ Ġ// ĠGENER ATOR Ġ- ĠMO RE ĠSUB COMPONENTS Ġ// ĊĊĠĠĠ Ġfun Ġinject ( application : ĠMain Application ) Ċ }