package Ġcom . d jek gr if . fast clean er . di . components Ċ Ċ import Ġcom . d jek gr if . fast clean er . di . Activity Scope Ċ import Ġcom . d jek gr if . fast clean er . ui . home . Home Activity Ċ import Ġcom . d jek gr if . fast clean er . ui . home . Home Presenter Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . Sub component Ċ import Ġcom . d jek gr if . fast clean er . ui . home . Home Contract Ċ import Ġcom . d jek gr if . fast clean er . ui . home . Home Fragment Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġd jek - gr if Ġon Ġ 5 / 2 2 / 1 7 . Ċ Ġ*/ Ċ @ Activity Scope Ċ @ Sub component ( modules Ġ= ĠarrayOf ( Home Module :: class )) Ċ interface ĠHome Component Ġ{ ĊĠĠĠ Ġfun Ġinject ( activity : ĠHome Activity ) ĊĠĠĠ Ġfun Ġinject ( fragment : ĠHome Fragment ) Ċ } Ċ Ċ @ Module Ċ class ĠHome Module ( private Ġval Ġview : ĠHome Contract . View ) Ġ{ ĊĠĠĠ Ġ@ Provides Ġfun Ġprovide View (): ĠHome Contract . View Ġ Ġ= Ġview ĊĠĠĠ Ġ@ Provides Ġfun Ġprovide Presenter () Ġ: ĠHome Contract . Presenter Ġ= ĠHome Presenter ( view ) Ċ }