package Ġcom . math ias brand t . ap hel ion . di Ċ Ċ import Ġcom . math ias brand t . ap hel ion . fragments . Con versations List Fragment Ċ import Ġcom . math ias brand t . ap hel ion . view models . Conversation Details ViewModel Ċ import Ġcom . math ias brand t . ap hel ion . view models . Con versations ViewModel Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ The Ġcomponent Ġis Ġused Ġto Ġconnect Ġobjects Ġto Ġtheir Ġdependencies , Ċ typ ically Ġby Ġuse Ġof Ġoverridden Ġinject () Ġmethods . Ċ Ċ In Ġorder Ġto Ġuse Ġthe Ġcomponent , Ġit Ġmust Ġbe Ġaccessible Ġfrom Ġthe Ġparts Ġof Ġthe Ġapp Ġthat Ġneed Ġinjection . Ċ Typ ically , Ġthat Ġwill Ġhappen Ġfrom Ġthe Ġapp ĠApplication Ġsubclass Ċ Ġ*/ Ċ @ Singleton Ċ @ Component ( modules Ġ= Ġ[ App Module :: class , ĠViewModel Module :: class ]) Ċ interface ĠApp Component Ġ{ ĊĠĠĠ Ġfun Ġinject ( target : ĠCon versations List Fragment ) ĊĠĠĠ Ġfun Ġinject ( target : ĠCon versations ViewModel ) ĊĠĠĠ Ġfun Ġinject ( target : ĠCon versation Details ViewModel ) Ċ }