package Ġcom . ale xf acci or us so . d agger view model . sample . di Ċ Ċ import Ġcom . ale xf acci or us so . d agger view model . D agger ViewModel Injection Module Ċ import Ġcom . ale xf acci or us so . d agger view model . sample . Sample Application Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Component Ċ import Ġdagger . android . support . Android Support Injection Module Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ Ġ* Ġ@ author Ġa lex fac ci or us so Ċ Ġ*/ Ċ @ Singleton Ċ @ Component ( modules Ġ= ĠarrayOf ( Android Support Injection Module :: class , ĠD agger ViewModel Injection Module :: class , ĊĠĠĠĠĠĠĠ ĠMain Module :: class )) Ċ interface ĠApplication Component Ġ{ ĊĠĠĠ Ġ@ Component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Bind s Instance ĊĠĠĠĠĠĠĠ Ġfun Ġapplication ( sample Application : ĠSample Application ): ĠBuilder ĊĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠApplication Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġinject ( sample Application : ĠSample Application ) Ċ }