package Ġcom . ang git pr ay ogo . mov on . di . component Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . ang git pr ay ogo . mov on . di . module . App Module Ċ import Ġcom . ang git pr ay ogo . mov on . di . module . ViewModel Module Ċ import Ġcom . ang git pr ay ogo . mov on . feature . detail . Movie Detail Activity Ċ import Ġcom . ang git pr ay ogo . mov on . feature . fav our ite . F avour ite Activity Ċ import Ġcom . ang git pr ay ogo . mov on . feature . fav our ite detail . F avour ite Detail Activity Ċ import Ġcom . ang git pr ay ogo . mov on . feature . main . MainActivity Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton ĊĊ Ċ /** Ċ Ġ* ĠCreated Ġby ĠAng git ĠPr ay ogo Ġon Ġ 1 2 , September , 2 0 2 0 Ċ Ġ* ĠGitHub Ġ: Ġhttps :// github . com / ang git 9 7 Ċ Ġ*/ Ċ @ Singleton Ċ @ Component ( ĊĠĠĠ Ġmodules Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠApp Module :: class , ĊĠĠĠĠĠĠĠ ĠViewModel Module :: class ĊĠĠĠ Ġ] Ċ ) Ċ interface ĠApp Component Ġ{ ĊĊĠĠĠ Ġ@ Component . Factory ĊĠĠĠ Ġinterface ĠFactory Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġcreate (@ Bind s Instance Ġcontext : ĠContext ): ĠApp Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġinject ( activity : ĠMainActivity ) ĊĊĠĠĠ Ġfun Ġinject ( activity : ĠMovie Detail Activity ) ĊĊĠĠĠ Ġfun Ġinject ( activity : ĠF avour ite Activity ) ĊĊĠĠĠ Ġfun Ġinject ( activity : ĠF avour ite Detail Activity ) Ċ }