package Ġcom . assessment . ui . main Ċ Ċ import Ġcom . assessment . data . Scheduler Provider Ċ import Ġcom . assessment . data . providers . News Provider Ċ import Ġcom . assessment . data . repository . News Repository Ċ import Ġdagger . Component Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġcom . assessment . di . App Component Ċ import Ġcom . assessment . di . modules . Api Module Ċ import Ġcom . assessment . di . scopes . Activity Scope Ċ import Ġcom . assessment . data . inter actors . News Interactor Ċ Ċ @ Activity Scope Ċ @ Component ( dependencies Ġ= Ġ[ App Component :: class ], ĊĠĠĠĠĠĠĠ Ġmodules Ġ= Ġ[ Main Module :: class ] Ċ ) Ċ interface ĠMain Component Ġ{ ĊĠĠĠ Ġfun Ġinject ( activity : ĠMainActivity ) Ċ } Ċ Ċ @ Module ( includes Ġ= Ġ[ Api Module :: class ]) Ċ class ĠMain Module Ġ{ ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Activity Presenter ( inter actor : ĠNews Interactor , Ġscheduler Provider : ĠScheduler Provider ): ĠMain Contract . Presenter Ġ= ĠMain Presenter ( inter actor , Ġscheduler Provider ) ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Basket Repo ( provider : ĠNews Provider ): ĠNews Repository Ġ= Ġprovider ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Basket Interactor ( provider : ĠNews Provider ): ĠNews Interactor ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= ĠNews Interactor ( provider ) Ċ Ċ }