package Ġco . ghost notes . sample . d agger 2 . di Ċ Ċ import Ġandroid . app . Application Ċ import Ġco . ghost notes . sample . d agger 2 . D agger 2 Sample Application Ċ 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 Ġ= Ġ[ ĊĠĠĠ ĠApplication Module :: class , ĊĠĠĠ ĠActivity Binding Module :: class , ĊĠĠĠ ĠAndroid Support Injection Module :: class Ċ ]) Ċ interface ĠApplication Component : ĠAndroid Injector < D agger 2 Sample Application > Ġ{ ĊĊĠĠĠ Ġ@ Component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Bind s Instance ĊĠĠĠĠĠĠĠ Ġfun Ġapplication ( application : ĠApplication ): ĠBuilder ĊĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠApplication Component ĊĠĠĠ Ġ} Ċ Ċ }