package Ġar . com . fr anco jar amil lo . pop corn . d agger Ċ Ċ import Ġar . com . fr anco jar amil lo . pop corn . ui . activities . MainActivity Ċ import Ġar . com . fr anco jar amil lo . pop corn . ui . fragments . F avorites Movies Fragment Ċ import Ġar . com . fr anco jar amil lo . pop corn . ui . fragments . Movies Fragment Ċ import Ġar . com . fr anco jar amil lo . pop corn . ui . fragments . Search Fragment Ċ import Ġar . com . fr anco jar amil lo . pop corn . view models . ViewModel Factory Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton ĊĊ Ċ @ Singleton Ċ @ Component ( modules Ġ= ĠarrayOf ( App Module :: class , ĠNetwork Module :: class , ĠExecutor Module :: class , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠRepository Module :: class , ĠViewModel Module :: class , ĠRoom Module :: class )) Ċ interface ĠApp Component Ġ{ ĊĠĠĠ Ġfun Ġinject ( search Fragment : ĠSearch Fragment ) ĊĠĠĠ Ġfun Ġinject ( movies Fragment : ĠMov ies Fragment ) ĊĠĠĠ Ġfun Ġinject ( movies Fragment : ĠF avorites Movies Fragment ) ĊĠĠĠ Ġfun Ġinject ( main Activity : ĠMainActivity ) Ċ }