package Ġcom . cu ong pm . todo app . di . component Ċ Ċ import Ġcom . cu ong pm . todo app . App Application Ċ import Ġcom . cu ong pm . todo app . di . 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 Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġcu ong pm Ġon Ġ 9 / 2 3 / 1 8 . Ċ Ġ*/ Ċ Ċ @ Singleton Ċ @ Component ( modules Ġ= Ġ[ Android Support Injection Module :: class , ĠApp Module :: class , ĠNetwork Module :: class , ĊĠĠĠ ĠDatabase Module :: class , ĠRepository Module :: class , ĠViewModel Module :: class , ĠActivity Binding Module :: class ]) Ċ interface ĠApp Component Ġ: ĠAndroid Injector < App Application > Ġ{ ĊĊĠĠĠ Ġ@ Component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Bind s Instance ĊĠĠĠĠĠĠĠ Ġfun Ġapplication ( app Application : ĠApp Application ): ĠBuilder ĊĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠApp Component ĊĠĠĠ Ġ} Ċ }