package Ġcom . sel va . example _ employee _ app . di Ċ Ċ import Ġcom . sel va . example _ employee _ app . Employee Application Ċ import Ġcom . sel va . example _ employee _ app . di . app Module . App Module Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Component Ċ import Ġdagger . android . Android Injector Ċ import Ġdagger . android . support . Android Support Injection Module Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Singleton Ċ @ Component ( ĊĠĠĠ Ġmodules Ġ= Ġ[ Android Support Injection Module :: class , ĊĠĠĠĠĠĠĠ ĠActivity Binding Module :: class , ĊĠĠĠĠĠĠĠ ĠApp Module :: class , ĊĠĠĠĠĠĠĠ ĠViewModel Module :: class ] Ċ ) Ċ interface ĠApp Component Ġ: ĠAndroid Injector < Employee Application > Ġ{ ĊĠĠĠ Ġ@ Component . Factory ĊĠĠĠ Ġinterface ĠFactory Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġcreate (@ Bind s Instance Ġapplication : ĠEmployee Application ): ĠApp Component ĊĠĠĠ Ġ} Ċ }