package Ġcom . mar ag ues . planner . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . mar ag ues . planner . App Ċ import Ġcom . mar ag ues . planner . inter actors . Inter actors Module Ċ import Ġcom . mar ag ues . planner . persistence . repositories . Repositories Module Ċ import Ġcom . mar ag ues . planner . persistence . room . Room Module Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Component Ċ import Ġdagger . android . Android Injection Module Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ Ġ* Ġhttps :// github . com / google samples / android - architecture - components / tree / master / Github Browser Sample / app / src / main / java / com / android / example / github / di Ċ Ġ*/ Ċ @ Singleton Ċ @ Component ( modules Ġ= Ġ[ ĊĠĠĠ ĠAndroid Injection Module :: class , ĊĠĠĠ ĠApp Module :: class , ĊĠĠĠ ĠBinding Module :: class , ĊĠĠĠ ĠRoom Module :: class , ĊĠĠĠ ĠInter actors Module :: class , ĊĠĠĠ ĠRe positories Module :: class Ċ ]) Ċ interface ĠApp Component Ġ{ ĊĊĠĠĠ Ġ@ Component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Bind s Instance ĊĠĠĠĠĠĠĠ Ġfun Ġcontext ( context : ĠContext ): ĠBuilder ĊĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠApp Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġinject ( app : ĠApp ) Ċ }