package Ġcom . dropbox . k ai ken . sample . advanced sample . app Ċ Ċ import Ġcom . dropbox . k ai ken . sample . advanced sample . helloworld feature . HelloWorld Dependencies Ċ import Ġcom . dropbox . k ai ken . sample . advanced sample . helloworld feature . HelloWorld Message Provider Ċ import Ġcom . dropbox . k ai ken . sample . advanced sample . helloworld feature . Real Time Message Provider Ċ import Ġcom . dropbox . k ai ken . sample . advanced sample . helloworld feature . Real World Message Provider Ċ import Ġcom . dropbox . k ai ken . sample . advanced sample . helloworld feature . Time Message Provider Ċ import Ġcom . dropbox . k ai ken . sco ping . App Services Ċ import Ġcom . dropbox . k ai ken . sco ping . Te ardown Helper Ċ import Ġdagger . Component Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ Ċ annotation Ġclass ĠApp Scope Ċ Ċ @ Component ( ĊĠĠĠ Ġmodules Ġ= Ġ[ App Services Module :: class ] Ċ ) Ċ @ App Scope Ċ abstract Ġclass ĠAdvanced K ai ken Sample App Services Ġ: ĠApp Services , ĠHello World Dependencies , ĠCore App Services Ġ{ ĊĊĠĠĠ Ġ@ Component . Factory ĊĠĠĠ Ġinterface ĠFactory Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġcreate (): ĠAdvanced K ai ken Sample App Services ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Te ardown Helper (): ĠTe ardown Helper Ġ= ĠNO OP _ TE AR DOWN HELPER Ċ } Ċ Ċ @ Module Ċ object ĠApp Services Module Ġ{ ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ App Scope ĊĠĠĠ Ġfun Ġprovide HelloWorld Message Provider (): ĠHello World Message Provider Ġ= ĊĠĠĠĠĠĠĠ ĠReal World Message Provider (" Hello Ġworld !") ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ App Scope ĊĠĠĠ Ġfun Ġprovide Time Message Provider (): ĠTime Message Provider Ġ= ĠReal Time Message Provider () Ċ } Ċ Ċ // ĠYou Ġcan Ġimplement Ġyour Ġown Ġteardown Ġlogic Ġhere . Ċ private Ġval ĠNO OP _ TE AR DOWN HELPER Ġ= Ġobject Ġ: ĠTe ardown Helper Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġteardown () Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠNo Ġop ĊĠĠĠ Ġ} Ċ } Ċ