package Ġru . mer k ul ye vs ash a . news . di čĊč Ċ import Ġandroidx . fragment . app . Fragment Activity č Ċ import Ġandroidx . fragment . app . FragmentManager č Ċ import Ġdagger . Module č Ċ import Ġdagger . Provides č Ċ import Ġdagger . h ilt . Install In č Ċ import Ġdagger . h ilt . android . components . Activity Component č Ċ import Ġdagger . h ilt . android . scopes . Activity Scoped č Ċ import Ġru . mer k ul ye vs ash a . core . Logger č Ċ import Ġru . mer k ul ye vs ash a . core . rout ers . MainActivity Router č Ċ import Ġru . mer k ul ye vs ash a . news . presentation . main . MainActivity č Ċ import Ġru . mer k ul ye vs ash a . news . presentation . rout ers . MainActivity Router Impl č Ċ import Ġjavax . inject . Qualifier čĊč Ċ @ Module č Ċ @ Install In ( Activity Component :: class ) č Ċ class ĠMainActivity Module Ġ{ čĊčĊĠĠĠ Ġ@ Activity Scoped čĊĠĠĠ Ġ@ Provides čĊĠĠĠ Ġ@ Activity FragmentManager čĊĠĠĠ Ġfun Ġprovide FragmentManager ( activity : ĠFragment Activity ): ĠFragment Manager Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġ( activity Ġas ĠMainActivity ). support FragmentManager čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġ@ Activity Scoped čĊĠĠĠ Ġ@ Provides čĊĠĠĠ Ġfun Ġprovides MainActivity Router ( čĊĠĠĠĠĠĠĠ Ġ@ Activity FragmentManager Ġfragment Manager : ĠFragment Manager , čĊĠĠĠĠĠĠĠ Ġlogger : ĠLogger čĊĠĠĠ Ġ): ĠMainActivity Router Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn ĠMainActivity Router Impl ( čĊĠĠĠĠĠĠĠĠĠĠĠ Ġfragment Manager , čĊĠĠĠĠĠĠĠĠĠĠĠ Ġlogger čĊĠĠĠĠĠĠĠ Ġ) čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġ@ Qualifier čĊĠĠĠ Ġ@ Retention ( Annotation Retention . RUNTIME ) čĊĠĠĠ Ġannotation Ġclass ĠActivity FragmentManager čĊč Ċ }